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

Add repetition_time just for sequence, not basesequence

parent 7807f233
No related branches found
No related tags found
1 merge request!2Define variables through new @defvar macro
...@@ -100,8 +100,6 @@ How often sequence should be repeated. ...@@ -100,8 +100,6 @@ How often sequence should be repeated.
""" """
nrepeat(bs::BaseSequence) = 1 nrepeat(bs::BaseSequence) = 1
repetition_time(bs::BaseSequence) = duration(bs)
@defvar begin @defvar begin
duration(bs::BaseSequence{0}) = 0. duration(bs::BaseSequence{0}) = 0.
duration(bs::BaseSequence) = sum(variables.duration.(bs); init=0.) duration(bs::BaseSequence) = sum(variables.duration.(bs); init=0.)
......
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