use tolf option inside simul()

time-shift
Michel Juillard 2019-11-24 09:56:35 +01:00
parent f6daa359b7
commit cc0f2865a6
2 changed files with 2 additions and 4 deletions

View File

@ -27,8 +27,7 @@ end;
check;
// Deterministic simulation of the model for 200 periods
options_.solve_tolf=1e-12;
simul(periods=100);
simul(periods=100, tolf=1e-12);
if ~oo_.deterministic_simulation.status
error('Perfect foresight simulation failed')

View File

@ -29,8 +29,7 @@ end;
check;
// Deterministic simulation of the model for 200 periods
options_.solve_tolf=1e-12;
simul(periods=100);
simul(periods=100, tolf=1e-12);
if ~oo_.deterministic_simulation.status
error('Perfect foresight simulation failed')