Skip to content

Commit

Permalink
fix observables string/symbol issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 committed Jan 2, 2024
1 parent b555b9b commit eceb149
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MacroModelling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6269,6 +6269,8 @@ function inversion_filter(𝓂::β„³,

sort!(observables)

observables = observables isa String_input ? observables .|> Meta.parse .|> replace_indices : observables

# solve model given the parameters
if algorithm == :second_order
sss, converged, SS_and_pars, solution_error, βˆ‡β‚, βˆ‡β‚‚, 𝐒₁, 𝐒₂ = calculate_second_order_stochastic_steady_state(𝓂.parameter_values, 𝓂)
Expand Down

0 comments on commit eceb149

Please sign in to comment.