Skip to content
Snippets Groups Projects
Verified Commit 30a3bdff authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

fix dicts correctly

parent 1e731f21
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,7 @@ It is used internally by [`build_sequence`](@ref).
fixed(some_value) = some_value
fixed(jump_variable::AbstractJuMPScalar) = value(jump_variable)
fixed(jump_variable::AbstractArray) = fixed.(jump_variable)
fixed(dict_variable::AbstractDict) = typeof(dict_variable)(k => fixed(v) for (k, v) in pairs(dict_variable))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment