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

Return actual object

parent 6d458fe6
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ function Sequence(blocks::AbstractVector; TR=:min)
if !(res.TR isa Number) || !(duration(res) isa Number)
@constraint global_model() res.TR >= actual_duration
end
return res
end
Sequence(blocks...; kwargs...) = Sequence([blocks...]; kwargs...)
......
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