Add missing return statement to evaluate_steady_state_file.m
Otherwise, the code will subsequently crash if the steady state file does not return a conformably sized vector, although an error code was returnedtime-shift
parent
3fdda5412f
commit
f5e8aeb552
|
@ -57,6 +57,7 @@ function [ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M,options)
|
|||
if check
|
||||
info(1) = 19;
|
||||
info(2) = NaN;
|
||||
return
|
||||
end
|
||||
|
||||
if M.param_nbr > 0
|
||||
|
|
Loading…
Reference in New Issue