From 1ffad81ccd7f97330fb5dae44c0d3739af1730e1 Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> Date: Thu, 1 Feb 2024 14:04:18 +0000 Subject: [PATCH] Fixed typo --- src/overlapping/abstract.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlapping/abstract.jl b/src/overlapping/abstract.jl index 812feb8..fa58c0f 100644 --- a/src/overlapping/abstract.jl +++ b/src/overlapping/abstract.jl @@ -60,7 +60,7 @@ for (func_symbol, _) in [Dict(all_variables_symbols)[:pulse]..., :effective_time single_pulse = pulses(ao) if iszero(length(single_pulse)) error("Building block does not contain any RF pulse, so cannot compute $func_symbol.") - elseif lenth(single_pulse) > 1 + elseif length(single_pulse) > 1 error("Building block has multipl pulses, so cannot compute $func_symbol.") end $func_symbol(single_pulse[1], args...; kwargs...) -- GitLab