From 1798c0da5889dd946385efc992131fbdbe776c61 Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk>
Date: Thu, 15 Feb 2024 17:54:39 +0000
Subject: [PATCH] Return actual object

---
 src/all_building_blocks/wait_blocks.jl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/all_building_blocks/wait_blocks.jl b/src/all_building_blocks/wait_blocks.jl
index c83d6a2..004c5fb 100644
--- a/src/all_building_blocks/wait_blocks.jl
+++ b/src/all_building_blocks/wait_blocks.jl
@@ -12,6 +12,7 @@ struct Wait <: BaseBuildingBlock
         if !(res.duration isa Number)
             @constraint global_model() res.duration >= 0
         end
+        return res
     end
 end
 
-- 
GitLab