Bug fix. verbosity option was not honoured in simplex algorithm (8).

Thanks to Reuben for reporting.
parent 2d674e0c
...@@ -295,14 +295,14 @@ switch minimizer_algorithm ...@@ -295,14 +295,14 @@ switch minimizer_algorithm
case 'InitialSimplexSize' case 'InitialSimplexSize'
simplexOptions.delta_factor = options_list{i,2}; simplexOptions.delta_factor = options_list{i,2};
case 'verbosity' case 'verbosity'
simplexOptions.verbose = options_list{i,2}; simplexOptions.verbosity = options_list{i,2};
otherwise otherwise
warning(['simplex: Unknown option (' options_list{i,1} ')!']) warning(['simplex: Unknown option (' options_list{i,1} ')!'])
end end
end end
end end
if options_.silent_optimizer if options_.silent_optimizer
simplexOptions.verbose = options_list{i,2}; simplexOptions.verbosity = 0;
end end
[opt_par_values,fval,exitflag] = simplex_optimization_routine(objective_function,start_par_value,simplexOptions,parameter_names,varargin{:}); [opt_par_values,fval,exitflag] = simplex_optimization_routine(objective_function,start_par_value,simplexOptions,parameter_names,varargin{:});
case 9 case 9
......
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