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

Fix return type of generic building block

parent 27e0c749
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@ function BuildingBlock(waveform::AbstractVector, events::AbstractVector; orienta
push!(components, event)
end
end
return components
return BuildingBlock(components)
end
make_generic(other_block::BaseBuildingBlock) = BuildingBlock(duration(other_block), [other_block...])
......
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