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

Fix init

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