From a6a0cef9fc7730b7763945bf5b55499f3dcf43be Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 29 Jun 2023 12:58:15 -0600 Subject: [PATCH] read the cell written to by mark_var when needed in compile_is (#1846) --- src/arithmetic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arithmetic.rs b/src/arithmetic.rs index 515dba4b..7f15a7f1 100644 --- a/src/arithmetic.rs +++ b/src/arithmetic.rs @@ -335,11 +335,11 @@ impl<'a> ArithmeticEvaluator<'a> { term_loc, &mut code, ); + cell.get().norm() } else { self.marker.increment_running_count(var_num); + r } - - r } else { self.marker.increment_running_count(var_num); cell.get().norm() -- 2.54.0