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

time-shift
Sébastien Villemot 2018-06-27 17:15:13 +02:00
parent a1b8bd39b2
commit 87bb0c6997
2 changed files with 3 additions and 3 deletions

View File

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

View File

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