Commit d1cb9fd0 authored by MichelJuillard's avatar MichelJuillard

fixed recent bug in resid when there is no steadystate file

parent ac4f774d
......@@ -44,10 +44,13 @@ if length(tags)
end
steady_state_old = oo_.steady_state;
[oo_.steady_state,M.params,info] = evaluate_steady_state(oo_.steady_state,M_,options_,oo_,0);
info = 0;
if options_.steadystate_flag
[oo_.steady_state,M.params,info] = ...
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,0);
end
if info(1)
print_info(info,options_.noprint)
......
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