Skip to content

Commit

Permalink
fix estimation test
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 committed Dec 20, 2023
1 parent 868b29d commit 1dbbd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MacroModelling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6002,7 +6002,7 @@ end



function calculate_kalman_filter_loglikelihood(𝓂::ℳ, data::AbstractArray{Float64}, observables::Vector{Symbol}; parameters::Vector{Float64} = Float64[], verbose::Bool = false, tol::AbstractFloat = eps())
function calculate_kalman_filter_loglikelihood(𝓂::ℳ, data::AbstractArray{Float64}, observables::Vector{Symbol}; parameters::Vector{U} = Float64[], verbose::Bool = false, tol::AbstractFloat = eps()) where U
@assert length(observables) == size(data)[1] "Data columns and number of observables are not identical. Make sure the data contains only the selected observables."
@assert length(observables) <= 𝓂.timings.nExo "Cannot estimate model with more observables than exogenous shocks. Have at least as many shocks as observable variables."

Expand Down

0 comments on commit 1dbbd28

Please sign in to comment.