From 05762bdbd9d0da9b0b441287dc97ee664adbe096 Mon Sep 17 00:00:00 2001 From: Andrew Milson Date: Thu, 2 May 2024 22:34:12 -0400 Subject: [PATCH] Fix CirclePointIndex bug in debug mode for 32-bit archs --- crates/prover/src/core/circle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/prover/src/core/circle.rs b/crates/prover/src/core/circle.rs index 3ec13bc43..4ebf442ac 100644 --- a/crates/prover/src/core/circle.rs +++ b/crates/prover/src/core/circle.rs @@ -269,7 +269,7 @@ impl Mul for CirclePointIndex { type Output = Self; fn mul(self, rhs: usize) -> Self::Output { - Self(self.0 * rhs).reduce() + Self(self.0.wrapping_mul(rhs)).reduce() } }