Skip to content
Snippets Groups Projects
Commit c66e09ce authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Stéphane Adjemian
Browse files

DsgeSmoother.m: provide informative error instead of crashing when model cannot be solved

(cherry picked from commit 8ccebd9e)
parent 20f99186
Branches
Tags
No related merge requests found
......@@ -104,6 +104,10 @@ oo_.dr.restrict_columns = bayestopt_.smoother_restrict_columns;
[T,R,SteadyState,info,M_,options_,oo_] = dynare_resolve(M_,options_,oo_);
if info~=0
print_info(info,options_.noprint, options_);
return
end
oo_.dr.restrict_var_list = oldoo.restrict_var_list;
oo_.dr.restrict_columns = oldoo.restrict_columns;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment