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

Thanks to Reuben for reporting.
time-shift
Stéphane Adjemia (Scylla) 2018-10-06 17:50:37 +02:00
parent 2d674e0c55
commit 108854a484
Signed by untrusted user who does not match committer: stepan
GPG Key ID: A6D44CB9C64CE77B
1 changed files with 2 additions and 2 deletions

View File

@ -295,14 +295,14 @@ switch minimizer_algorithm
case 'InitialSimplexSize'
simplexOptions.delta_factor = options_list{i,2};
case 'verbosity'
simplexOptions.verbose = options_list{i,2};
simplexOptions.verbosity = options_list{i,2};
otherwise
warning(['simplex: Unknown option (' options_list{i,1} ')!'])
end
end
end
if options_.silent_optimizer
simplexOptions.verbose = options_list{i,2};
simplexOptions.verbosity = 0;
end
[opt_par_values,fval,exitflag] = simplex_optimization_routine(objective_function,start_par_value,simplexOptions,parameter_names,varargin{:});
case 9