Commit 5d4d318b authored by MichelJuillard's avatar MichelJuillard
Browse files

fixing bug in estimation by maximum likelihood

parent f7ca9855
......@@ -512,7 +512,7 @@ if any(bayestopt_.pshape > 0) && ~options_.mh_posterior_mode_estimation
disp(sprintf('Log data density [Laplace approximation] is %f.',oo_.MarginalDensity.LaplaceApproximation))
disp(' ')
end
elseif ~any(bayestopt_.pshape > 0) && options_.mh_posterior_mode_estimation
elseif ~any(bayestopt_.pshape > 0) && ~options_.mh_posterior_mode_estimation
disp(' ')
disp('RESULTS FROM MAXIMUM LIKELIHOOD')
tstath = zeros(nx,1);
......
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