diff --git a/src/distributions/utils.rs b/src/distributions/utils.rs index 3af4e86fdec..f7ddecbb9cd 100644 --- a/src/distributions/utils.rs +++ b/src/distributions/utils.rs @@ -321,6 +321,7 @@ macro_rules! scalar_float_impl { <$ty>::from_bits(self.to_bits() - 1) } type UInt = $uty; + #[inline] fn cast_from_int(i: Self::UInt) -> Self { i as $ty } }