Skip to content
Snippets Groups Projects
Commit f5e8aeb5 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

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
parent 3fdda541
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ function [ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M,options) ...@@ -57,6 +57,7 @@ function [ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M,options)
if check if check
info(1) = 19; info(1) = 19;
info(2) = NaN; info(2) = NaN;
return
end end
if M.param_nbr > 0 if M.param_nbr > 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment