Fixed bug related to the position of the info argument returned by non_linear_dsge_likelihood.
parent
ac2fa68b86
commit
6103500543
|
@ -40,7 +40,7 @@ end
|
||||||
% Evaluate the likelihood.
|
% Evaluate the likelihood.
|
||||||
[fval,junk1,junk2,a,b,c,d] = feval(objective_function,xparam1,DynareDataset,DynareOptions,Model,EstimatedParameters,BayesInfo,DynareResults);
|
[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;
|
info = b;
|
||||||
else
|
else
|
||||||
info = d;
|
info = d;
|
||||||
|
|
Loading…
Reference in New Issue