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

Remove duplicate variables.

parent 882dd135
No related branches found
No related tags found
1 merge request!2Define variables through new @defvar macro
......@@ -101,8 +101,8 @@ How often sequence should be repeated.
nrepeat(bs::BaseSequence) = 1
@defvar begin
variables.duration(bs::BaseSequence{0}) = 0.
variables.duration(bs::BaseSequence) = sum(variables.duration.(bs); init=0.)
duration(bs::BaseSequence{0}) = 0.
duration(bs::BaseSequence) = sum(variables.duration.(bs); init=0.)
end
function edge_times(seq::BaseSequence; tol=1e-6)
......
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