Add initial likelihood value to debugging info

time-shift
Johannes Pfeifer 2014-09-20 19:57:43 +02:00 committed by Johannes Pfeifer
parent 3b142de609
commit bb0446873f
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ else
b=0;
fval = 0;
end
if DynareOptions.debug
DynareResults.likelihood_at_initial_parameters=fval;
end
DynareOptions.analytic_derivation=ana_deriv;
if DynareOptions.dsge_var || strcmp(func2str(objective_function),'non_linear_dsge_likelihood')