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 returned
time-shift
Johannes Pfeifer 2015-07-27 18:10:27 +02:00
parent 3fdda5412f
commit f5e8aeb552
1 changed files with 1 additions and 0 deletions

View File

@ -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