Commit 0a4427af authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug in simplex_optimization_routine (simplex -> options).

Closes #536.
parent c8d77b20
......@@ -44,8 +44,8 @@ verbose = 2;
number_of_variables = length(x);
% get options.
if isempty(simplex.maxfcall)
max_func_calls = simplex.maxfcallfactor*number_of_variables
if isempty(options.maxfcall)
max_func_calls = options.maxfcallfactor*number_of_variables
end
% Set tolerance parameter.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment