diff --git a/hax-bounded-integers/src/lib.rs b/hax-bounded-integers/src/lib.rs index 04aaae79a..753e8ea2a 100644 --- a/hax-bounded-integers/src/lib.rs +++ b/hax-bounded-integers/src/lib.rs @@ -215,14 +215,14 @@ macro_rules! derivate_operations_for_bounded { impl Zero for $bounded_t { #[inline(always)] fn zero() -> Self { - Self::new(1) + Self::new(0) } } impl One for $bounded_t { #[inline(always)] fn one() -> Self { - Self::new(0) + Self::new(1) } }