fix tolf and tolx options for sim1_purely_forward
parent
2652cb0dd7
commit
f6daa359b7
|
@ -33,8 +33,8 @@ for it = options.periods:-1:1
|
||||||
yf = endogenousvariables(:,it+1); % Values at next period, also used as guess value for current period
|
yf = endogenousvariables(:,it+1); % Values at next period, also used as guess value for current period
|
||||||
yf1 = yf(iyf);
|
yf1 = yf(iyf);
|
||||||
[tmp, check] = solve1(dynamicmodel, [yf; yf1], 1:M.endo_nbr, 1:M.endo_nbr, ...
|
[tmp, check] = solve1(dynamicmodel, [yf; yf1], 1:M.endo_nbr, 1:M.endo_nbr, ...
|
||||||
1, options.gstep, options.solve_tolf, ...
|
1, options.gstep, options.dynatol.f, ...
|
||||||
options.solve_tolx, options.simul.maxit, ...
|
options.dynatol.x, options.simul.maxit, ...
|
||||||
options.debug, exogenousvariables, M.params, steadystate, ...
|
options.debug, exogenousvariables, M.params, steadystate, ...
|
||||||
it+M.maximum_lag);
|
it+M.maximum_lag);
|
||||||
if check
|
if check
|
||||||
|
|
Loading…
Reference in New Issue