From d26c9e97e868b93b26886f10e77c9b966b633395 Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <MichielCottaar@protonmail.com> Date: Thu, 30 May 2024 14:08:12 +0100 Subject: [PATCH] Remove duplicate variables. --- src/containers/base_sequences.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/base_sequences.jl b/src/containers/base_sequences.jl index e121764..e1963ab 100644 --- a/src/containers/base_sequences.jl +++ b/src/containers/base_sequences.jl @@ -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) -- GitLab