diff --git a/matlab/ep/extended_path_core.m b/matlab/ep/extended_path_core.m index 71571b112c14f9835574f2e6f6ad8e770ce40c55..237d99b801ab3b5fbcf96ccb4f6529b4e3d70786 100644 --- a/matlab/ep/extended_path_core.m +++ b/matlab/ep/extended_path_core.m @@ -41,7 +41,7 @@ stack_solve_algo = ep.stack_solve_algo; if init% Compute first order solution (Perturbation)... endo_simul = simult_(M_,options_,initial_conditions,oo_.dr,exo_simul(2:end,:),1); else - if nargin==19 && ~isempty(initialguess) + if nargin==8 && ~isempty(initialguess) % Note that the first column of initialguess should be equal to initial_conditions. endo_simul = initialguess; else