Skip to content
Snippets Groups Projects
Verified Commit b9b50dbc authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fix wrong test on the number of input arguments.

parent d8e28375
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment