Skip to content
Snippets Groups Projects
Verified Commit 2e211f48 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

:bug: Steady state: wrong value of maxit was used for some block/bytecode cases

It was using the value of maxit for perfect foresight simulations.

(manually cherry picked from commit 30c17ad3)
parent e82e4e80
Branches
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ if options.block && ~options.bytecode ...@@ -38,7 +38,7 @@ if options.block && ~options.bytecode
else else
n = length(M.block_structure_stat.block(b).variable); n = length(M.block_structure_stat.block(b).variable);
[ss, T, ~, check] = solve_one_boundary([M.fname '.static' ], ss, exo, ... [ss, T, ~, check] = solve_one_boundary([M.fname '.static' ], ss, exo, ...
params, [], T, M.block_structure_stat.block(b).variable, n, 1, false, b, 0, options.simul.maxit, ... params, [], T, M.block_structure_stat.block(b).variable, n, 1, false, b, 0, options.steady.maxit, ...
options.solve_tolf, ... options.solve_tolf, ...
options.slowc, 0, options.solve_algo, true, false, false, M, options, []); options.slowc, 0, options.solve_algo, true, false, false, M, options, []);
if check if check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment