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

BF: fix duration call

parent 53469188
No related branches found
No related tags found
1 merge request!4Resolve "Add secondary objective function"
Pipeline #24967 failed
......@@ -168,7 +168,7 @@ get_index_single_TR(s::Sequence, i::Integer) = s.blocks[i][2]
Base.getindex(seq::Sequence, sym::Symbol) = seq[findfirst(p -> p[1] == sym, seq.blocks)]
nrepeat(::Sequence) = 0
@defvar repetition_time(seq::Sequence) = duration(seq)
@defvar repetition_time(seq::Sequence) = variables.duration(seq)
to_block_pair(pair::Pair) = pair[1] => to_block(pair[2])
to_block_pair(other) = nothing => to_block(other)
......
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