Following a change in the calling sequence. Fixes #1789

time-shift
MichelJuillard 2021-05-17 17:37:41 +02:00 committed by Stéphane Adjemian (Charybdis)
parent 77612e6bb7
commit 5ab724d38f
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 1 additions and 1 deletions

View File

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