From 7d64915dd7fc575c30475a16bfd2250235fd3d86 Mon Sep 17 00:00:00 2001 From: gusto Date: Fri, 21 Jul 2023 12:30:52 +0300 Subject: [PATCH] Get current view directly from the engine (#269) --- simulations/src/node/carnot/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulations/src/node/carnot/mod.rs b/simulations/src/node/carnot/mod.rs index 9e7193f9..d0f9e758 100644 --- a/simulations/src/node/carnot/mod.rs +++ b/simulations/src/node/carnot/mod.rs @@ -319,7 +319,7 @@ impl> Node for Car } fn current_view(&self) -> View { - self.event_builder.current_view + self.engine.current_view() } fn state(&self) -> &CarnotState {