Commit 05946cd6 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Changed names of some options for csminwel (mode_compute=4).

parent b2db159c
...@@ -273,9 +273,9 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation ...@@ -273,9 +273,9 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation
switch strtrim(options_list{2*(o-1)+1}) switch strtrim(options_list{2*(o-1)+1})
case '''MaxIter''' case '''MaxIter'''
nit = str2num(options_list{2*(o-1)+2}); nit = str2num(options_list{2*(o-1)+2});
case '''InitialHessian''' case '''InitialInverseHessian'''
H0 = eval(eval(options_list{2*(o-1)+2})); H0 = eval(eval(options_list{2*(o-1)+2}));
case '''TolF''' case '''TolFun'''
crit = str2double(options_list{2*(o-1)+2}); crit = str2double(options_list{2*(o-1)+2});
case '''NumgradAlgorithm''' case '''NumgradAlgorithm'''
numgrad = str2num(options_list{2*(o-1)+2}); numgrad = str2num(options_list{2*(o-1)+2});
Supports Markdown
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