Commit 6d7c618c authored by MichelJuillard's avatar MichelJuillard
Browse files

fixing option dr_cycle_reduction

parent 1f5e20d3
......@@ -241,10 +241,10 @@ function compute_stoch_simul(context)
results.exogenous_steady_state,
m,
2)
if options["dr_cycle_reduction"]
algo = "CR"
else
if isnothing(get(options,"dr_cycle_reduction", nothing))
algo = "GS"
else
algo = "CR"
end
ws = LinearRationalExpectationsWs(algo,
m.endogenous_nbr,
......@@ -298,3 +298,4 @@ function get_jacobian_at_steadystate!(work::Work, steadystate, exogenous, m::Mod
steadystate,
period)
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment