Occbin: filter out problems in solving the baseline model

fix-tolerance-parameters
Johannes Pfeifer 2022-04-28 11:23:28 +02:00
parent a600336c92
commit 6536e135cb
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_;