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

Fix sequence building

parent 38c30452
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ end ...@@ -17,7 +17,7 @@ end
@global_model_constructor Sequence @global_model_constructor Sequence
Sequence(model::Model, blocks::BuildingBlock...) = Sequence(model, to_block.(blocks)) Sequence(model::Model, blocks...) = return Sequence(model, to_block.([blocks...]))
Base.length(seq::Sequence) = length(seq) Base.length(seq::Sequence) = length(seq)
Base.getindex(seq::Sequence, index) = seq[index] Base.getindex(seq::Sequence, index) = seq[index]
......
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