From cff56a38a00f36a09fb5643a4ca5c313b7cfea48 Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> Date: Sat, 27 Jan 2024 16:51:58 +0000 Subject: [PATCH] to_block should pass on BuildingBlock --- src/building_blocks.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/building_blocks.jl b/src/building_blocks.jl index 476fa7a..815c098 100644 --- a/src/building_blocks.jl +++ b/src/building_blocks.jl @@ -37,7 +37,7 @@ end_time(bb) = duration(bb) Function used internally to convert a wide variety of objects into [`BuildingBlock`](@ref) objects. """ -function to_block end +to_block(bb::BuildingBlock) = bb """ -- GitLab