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

Pass on model to build_sequence internals

parent 4155ecb9
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ function build_sequence(f::Function, model::Model)
prev_model = GLOBAL_MODEL[]
GLOBAL_MODEL[] = model
try
sequence = f()
sequence = f(model)
optimize!(model)
return sequence
finally
......
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