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

Fix fixing for events

parent 6ec81d18
No related branches found
No related tags found
No related merge requests found
Pipeline #23464 passed
......@@ -126,6 +126,7 @@ 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))
fixed(tuple_variable::Tuple) = fixed.(tuple_variable)
fixed(pair:: Pair) = fixed(pair[1]) => fixed(pair[2])
......
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