Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 committed Nov 11, 2023
1 parent 2771550 commit 3351d22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MacroModelling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function transform_obc(ex::Expr)

eq = eval(transformed_expr)

soll = try SPyPyC.solve(eq, minmax__P)
soll = try SPyPyC.solve(eq, eval(:minmax__P))
catch
end

Expand Down Expand Up @@ -3672,8 +3672,8 @@ write_parameters_input!(𝓂::β„³, parameters::Pair{String,Float64}; verbose::Bo


write_parameters_input!(𝓂::β„³, parameters::Tuple{Pair{Symbol,Float64},Vararg{Pair{Symbol,Float64}}}; verbose::Bool = true) = write_parameters_input!(𝓂::β„³, Dict(parameters), verbose = verbose)
write_parameters_input!(𝓂::β„³, parameters::Tuple{Pair{Symbol,Float64},Vararg{Pair{String,Int}}}; verbose::Bool = true) = write_parameters_input!(𝓂::β„³, Dict(parameters), verbose = verbose)
write_parameters_input!(𝓂::β„³, parameters::Tuple{Pair{Symbol,Int},Vararg{Pair{String,Float64}}}; verbose::Bool = true) = write_parameters_input!(𝓂::β„³, Dict(parameters), verbose = verbose)
# write_parameters_input!(𝓂::β„³, parameters::Tuple{Pair{Union{Symbol,String},Union{Float64,Int}},Vararg{Pair{Union{Symbol,String},Union{Float64,Int}}}}; verbose::Bool = true) = write_parameters_input!(𝓂::β„³, Dict(parameters), verbose = verbose)
# write_parameters_input!(𝓂::β„³, parameters::Tuple{Pair{Symbol,Int},Vararg{Pair{String,Float64}}}; verbose::Bool = true) = write_parameters_input!(𝓂::β„³, Dict(parameters), verbose = verbose)
write_parameters_input!(𝓂::β„³, parameters::Tuple{Pair{String,Float64},Vararg{Pair{String,Float64}}}; verbose::Bool = true) = write_parameters_input!(𝓂::β„³, Dict([i[1] |> Meta.parse |> replace_indices => i[2] for i in parameters])
, verbose = verbose)
write_parameters_input!(𝓂::β„³, parameters::Vector{Pair{Symbol, Float64}}; verbose::Bool = true) = write_parameters_input!(𝓂::β„³, Dict(parameters), verbose = verbose)
Expand Down

0 comments on commit 3351d22

Please sign in to comment.