Skip to content
Snippets Groups Projects
Commit 61035005 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug related to the position of the info argument returned by non_linear_dsge_likelihood.

parent ac2fa68b
Branches
Tags
No related merge requests found
......@@ -40,7 +40,7 @@ end
% Evaluate the likelihood.
[fval,junk1,junk2,a,b,c,d] = feval(objective_function,xparam1,DynareDataset,DynareOptions,Model,EstimatedParameters,BayesInfo,DynareResults);
if DynareOptions.dsge_var
if DynareOptions.dsge_var || strcmp(func2str(objective_function),'non_linear_dsge_likelihood')
info = b;
else
info = d;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment