Commit 7b03b8ae authored by Johannes Pfeifer 's avatar Johannes Pfeifer
Browse files

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
parent e2da7c66
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment