Remove useless condition (since octave is already disabled).
parent
dcc831254e
commit
5e3603a1b6
|
@ -47,9 +47,7 @@ verbatim;
|
|||
GY = NaN(MC,1);
|
||||
GK = NaN(MC,1);
|
||||
EG = NaN(MC,1);
|
||||
if isoctave
|
||||
options = optimset('Display', 'off', 'MaxFunEvals', 1000000,'MaxIter',100000,'Jacobian','on','TolFun',1e-8,'TolX',1e-8);
|
||||
elseif matlab_ver_less_than('9.0')
|
||||
if matlab_ver_less_than('9.0')
|
||||
% See https://fr.mathworks.com/help/optim/ug/current-and-legacy-option-name-tables.html
|
||||
options = optimoptions('fsolve','Display','off','Algorithm','levenberg-marquardt','MaxFunEvals',1000000,'MaxIter',100000,'Jacobian','on','TolFun',1e-8,'TolX',1e-8);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue