Skip to content

Commit

Permalink
fix JET
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 committed Dec 21, 2023
1 parent 5892c60 commit 73f9b7b
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::Union{Nothing,Vector{U}} = nothing, verbose::Bool = false, tol::AbstractFloat = eps()) where U
function calculate_kalman_filter_loglikelihood(𝓂::ℳ, data::AbstractArray{Float64}, observables::Vector{Symbol}; parameters::Union{Nothing,Vector{U}} = nothing, verbose::Bool = false, tol::AbstractFloat = eps()) where U <: Number
@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 73f9b7b

Please sign in to comment.