Skip to content
Snippets Groups Projects
Verified Commit 1ffad81c authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fixed typo

parent 329cb98a
No related branches found
No related tags found
No related merge requests found
......@@ -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...)
......
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