Skip to content

Commit

Permalink
fix calc mean again
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 committed Sep 12, 2023
1 parent e6ce814 commit 4a74632
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MacroModelling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
= 𝓂.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ᵉ)))
Expand Down

0 comments on commit 4a74632

Please sign in to comment.