From 79428a832101c2efc805540ad1df685ed83bc9ea Mon Sep 17 00:00:00 2001 From: thorek1 Date: Tue, 12 Sep 2023 13:20:28 +0200 Subject: [PATCH] fix calc mean again --- src/MacroModelling.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacroModelling.jl b/src/MacroModelling.jl index 2a29f862..4e362055 100644 --- a/src/MacroModelling.jl +++ b/src/MacroModelling.jl @@ -4131,7 +4131,7 @@ function calculate_mean(parameters::Vector{T}, 𝓂::ℳ; verbose::Bool = false, 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))) + s_in_s⁺ = BitVector(vcat(ones(Bool, nˢ), 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ᵉ)))