From 934475b959dd89dcbfcd55890e6f4131805d10f9 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 17 Sep 2024 15:10:07 -0700 Subject: [PATCH] fix fix --- fixed_wide/src/fixed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixed_wide/src/fixed.rs b/fixed_wide/src/fixed.rs index d88203b..a566151 100644 --- a/fixed_wide/src/fixed.rs +++ b/fixed_wide/src/fixed.rs @@ -536,7 +536,7 @@ macro_rules! impl_fix_rhs_lt_lhs_not_const_generic{ paste::item!{ #[inline] pub fn [](self)->Fixed<$rhs,{$rhs*32}>{ - Fixed::from_bits(bnum::cast::As::as_::>(self.bits).shr(($lhs-$rhs)*32)) + Fixed::from_bits(bnum::cast::As::as_::>(self.bits.shr(($lhs-$rhs)*32))) } } }