diff --git a/src/containers/building_blocks.jl b/src/containers/building_blocks.jl index 6388a22530db5f37842a2208b54a37cb64bc4ec2..7867af5c090fbc81afd202a4bffa571287a28178 100644 --- a/src/containers/building_blocks.jl +++ b/src/containers/building_blocks.jl @@ -189,7 +189,7 @@ function qval(bb::BaseBuildingBlock, index1, index2) if (!isnothing(index1)) && (index1 == index2) return 0. end - sum([qval(wv) for (_, wv) in waveform_sequence(bb, index1, index2)]; init=0.) + sum([qval(wv) for (_, wv) in waveform_sequence(bb, index1, index2)]) end qval(bb::BaseBuildingBlock) = qval(bb, nothing, nothing)