diff --git a/matlab/ep/extended_path_core.m b/matlab/ep/extended_path_core.m index 2fee70d824829cc54f069a5b59cbb685ecba4a35..c7036834545361eea6023b3ef8a91e160e4cb88a 100644 --- a/matlab/ep/extended_path_core.m +++ b/matlab/ep/extended_path_core.m @@ -26,7 +26,7 @@ ep = options.ep; if init% Compute first order solution (Perturbation)... endo_simul = simult_(M,options,initial_conditions,oo.dr,exo_simul(2:end,:),1); else - if nargin==20 && ~isempty(initialguess) + if nargin==19 && ~isempty(initialguess) % Note that the first column of initialguess should be equal to initial_conditions. endo_simul = initialguess; else