From 6103500543c957f72be4311a80d6c7bf7720d25a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Fri, 4 May 2012 11:36:27 +0200 Subject: [PATCH] Fixed bug related to the position of the info argument returned by non_linear_dsge_likelihood. --- matlab/initial_estimation_checks.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/initial_estimation_checks.m b/matlab/initial_estimation_checks.m index 8259c7931..0d6463f19 100644 --- a/matlab/initial_estimation_checks.m +++ b/matlab/initial_estimation_checks.m @@ -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;