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

Added the possibilty to set the initial condition of the (stochastic) extended...

Added the possibilty to set the initial condition of the (stochastic) extended path simulations with the histval block.
parent cd3b5bf3
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,11 @@ dynatol = options_.dynatol; ...@@ -46,7 +46,11 @@ dynatol = options_.dynatol;
% Set default initial conditions. % Set default initial conditions.
if isempty(initial_conditions) if isempty(initial_conditions)
if isempty(M_.endo_histval)
initial_conditions = oo_.steady_state; initial_conditions = oo_.steady_state;
else
initial_conditions = M_.endo_histval;
end
end end
% Set maximum number of iterations for the deterministic solver. % Set maximum number of iterations for the deterministic solver.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment