Merge branch 'occbin_error' into 'master'

Occbin: filter out problems in solving the baseline model

See merge request Dynare/dynare!2021
fix-tolerance-parameters
Sébastien Villemot 2022-04-28 13:04:53 +00:00
commit e58552d914
1 changed files with 9 additions and 0 deletions

View File

@ -51,7 +51,16 @@ else
end
if solve_dr
if isempty(options_.qz_criterium)
options_.qz_criterium = 1+1e-6;
end
[dr,error_flag,M_,oo_] = resol(0,M_,options_,oo_);
out.error_flag=error_flag;
if error_flag
print_info(error_flag, options_.noprint, options_)
return;
end
oo_.dr = dr;
sto_dr=dr;
sto_M=M_;