From 05d55ef69b7e25b4b528add1cb8d14cbb8e89d23 Mon Sep 17 00:00:00 2001 From: Galen Seilis Date: Fri, 13 Jun 2025 16:07:08 -0700 Subject: [PATCH] Update node to have `now` property method instead in hybrid.rst I tried running the example and found that it was breaking due to get_now not existing. --- docs/Guides/System/behaviour/hybrid.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Guides/System/behaviour/hybrid.rst b/docs/Guides/System/behaviour/hybrid.rst index 256d15f..e5a36b9 100644 --- a/docs/Guides/System/behaviour/hybrid.rst +++ b/docs/Guides/System/behaviour/hybrid.rst @@ -101,7 +101,7 @@ Therefore, to link the SD component and the discrete event simulation, we will m class HybridNode(ciw.Node): def release(self, next_individual_index, next_node): super().release(next_individual_index, next_node) - self.simulation.SD.solve(t=self.get_now(), L=self.number_of_individuals) + self.simulation.SD.solve(t=self.now, L=self.number_of_individuals) class HybridSimulation(ciw.Simulation):