Commit 87bb0c69 authored by Sébastien Villemot's avatar Sébastien Villemot

Fix mistake in previous commit w.r.t. steadystate file

parent a1b8bd39
......@@ -67,7 +67,7 @@ check1 = 0;
% testing for steadystate file
fh = str2func([M_.fname '.static']);
if options_.steadystate_flag
[dr.ys,check1] = feval([M_.fname '.steadystate'],dr.ys,...
[dr.ys,check1] = feval([M_.fname '_steadystate'],dr.ys,...
[oo_.exo_steady_state; ...
oo_.exo_det_steady_state]);
if size(dr.ys,1) < M_.endo_nbr
......@@ -78,7 +78,7 @@ if options_.steadystate_flag
oo_.exo_det_steady_state,...
M_.params);
else
error([M_.fname '.steadystate doesn''t match the model']);
error([M_.fname '_steadystate.m doesn''t match the model']);
end
end
......
......@@ -299,7 +299,7 @@ else
end
if options_.steadystate_flag
if options_.steadystate_flag == 1
NamFileInput(length(NamFileInput)+1,:)={'',[M_.fname '.steadystate.m']};
NamFileInput(length(NamFileInput)+1,:)={'',[M_.fname '_steadystate.m']};
else
NamFileInput(length(NamFileInput)+1,:)={'',[M_.fname '.steadystate.m']};
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