Skip to content
Snippets Groups Projects
Commit 4d9426cf authored by MichelJuillard's avatar MichelJuillard
Browse files

fixing bug in estimation by maximum likelihood

(cherry picked from commit 5d4d318b)
parent d8f6eb76
No related branches found
No related tags found
No related merge requests found
...@@ -579,7 +579,7 @@ if any(bayestopt_.pshape > 0) && ~options_.mh_posterior_mode_estimation ...@@ -579,7 +579,7 @@ if any(bayestopt_.pshape > 0) && ~options_.mh_posterior_mode_estimation
disp(sprintf('Log data density [Laplace approximation] is %f.',md_Laplace)) disp(sprintf('Log data density [Laplace approximation] is %f.',md_Laplace))
disp(' ') disp(' ')
end end
elseif ~any(bayestopt_.pshape > 0) && options_.mh_posterior_mode_estimation elseif ~any(bayestopt_.pshape > 0) && ~options_.mh_posterior_mode_estimation
disp(' ') disp(' ')
disp('RESULTS FROM MAXIMUM LIKELIHOOD') disp('RESULTS FROM MAXIMUM LIKELIHOOD')
tstath = zeros(nx,1); tstath = zeros(nx,1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment