From 4a74632d1d19aad79f507378475edabd328d9957 Mon Sep 17 00:00:00 2001 From: thorek1 Date: Tue, 12 Sep 2023 12:58:06 +0200 Subject: [PATCH] fix calc mean again --- src/MacroModelling.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/MacroModelling.jl b/src/MacroModelling.jl index 6c5ed583..2a29f862 100644 --- a/src/MacroModelling.jl +++ b/src/MacroModelling.jl @@ -4128,6 +4128,9 @@ function calculate_mean(parameters::Vector{T}, ๐“‚::โ„ณ; verbose::Bool = false, ๐’โ‚‚, solved2 = calculate_second_order_solution(โˆ‡โ‚, โˆ‡โ‚‚, ๐’โ‚, ๐“‚.solution.perturbation.second_order_auxilliary_matrices; T = ๐“‚.timings, tol = tol) + nแต‰ = ๐“‚.timings.nExo + nหข = ๐“‚.timings.nPast_not_future_and_mixed + s_in_sโบ = BitVector(vcat(๐“‚.timings.past_not_future_and_mixed .โˆˆ (dependencies,), zeros(Bool, nแต‰ + 1))) e_in_sโบ = BitVector(vcat(zeros(Bool, nหข + 1), ones(Bool, nแต‰))) v_in_sโบ = BitVector(vcat(zeros(Bool, nหข), 1, zeros(Bool, nแต‰)))