Skip to content
Snippets Groups Projects
Commit a400305f authored by MichelJuillard's avatar MichelJuillard
Browse files

updating list of info codes returned by dynare_resolve() in DsgeVarLikelihood

parent 2e9ae5df
Branches
Tags
No related merge requests found
......@@ -146,7 +146,8 @@ end
[T,R,SteadyState,info,Model,DynareOptions,DynareResults] = dynare_resolve(Model,DynareOptions,DynareResults,'restrict');
% Return, with endogenous penalty when possible, if dynare_resolve issues an error code (defined in resol).
if info(1) == 1 || info(1) == 2 || info(1) == 5
if info(1) == 1 || info(1) == 2 || info(1) == 5 || info(1) == 7 || info(1) ...
== 8 || info(1) == 22 || info(1) == 24
fval = penalty+1;
info = info(1);
exit_flag = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment