resol.m: make sure oo.dr is correctly updated even if function is aborted prematurely

ramsey_policy relies on oo_.dr.ys being set in any case
time-shift
Johannes Pfeifer 2016-11-07 11:36:06 +01:00
parent e2da7c6627
commit 7b03b8aef4
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ end
[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,0);
if info(1)
oo.dr = dr;
return
end