diff --git a/matlab/ep/extended_path.m b/matlab/ep/extended_path.m index e566145bd..beda19f10 100644 --- a/matlab/ep/extended_path.m +++ b/matlab/ep/extended_path.m @@ -70,7 +70,8 @@ end options_.minimal_solving_period = options_.ep.periods; % Get indices of variables with non zero steady state -idx = find(abs(oo_.steady_state)>0); +idx = find(abs(oo_.steady_state)>1e-6); +indx = find(abs(oo_.steady_state)<=1e-6); % Initialize the exogenous variables. make_ex_; @@ -228,7 +229,16 @@ while (t 1e-14 + error('extended path algorithm fails in ./tests/ep/linear.mod') +end \ No newline at end of file