From a5cfef3d76c79457bd389d98d472a4001e3e5b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Fri, 7 Aug 2026 09:08:44 +0200 Subject: [PATCH 1/2] fix: downgraded wide to 1.5 --- Cargo.toml | 2 +- src/scalar/real.rs | 4 ++-- src/simd/wide_simd_impl.rs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8c195e7..834a832 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ num-traits = { version = "0.2.11", default-features = false } approx = { version = "0.5", default-features = false } decimal = { version = "2.0", default-features = false, optional = true } num-complex = { version = "0.4", default-features = false } -wide = { version = "1.6", default-features = false, optional = true } +wide = { version = "1.5", default-features = false, optional = true } fixed = { version = "1", optional = true } cordic = { version = "0.1", optional = true } rand = { version = "0.10", optional = true } diff --git a/src/scalar/real.rs b/src/scalar/real.rs index b65dbe2..dd5de2d 100644 --- a/src/scalar/real.rs +++ b/src/scalar/real.rs @@ -105,13 +105,13 @@ macro_rules! impl_real ( /// The smallest finite positive value representable using this type. #[inline] fn min_value() -> Option { - Some($M::MIN) + Some(<$T>::MIN) } /// The largest finite positive value representable using this type. #[inline] fn max_value() -> Option { - Some($M::MAX) + Some(<$T>::MAX) } /// Archimedes' constant. diff --git a/src/simd/wide_simd_impl.rs b/src/simd/wide_simd_impl.rs index b92f25c..70f042d 100644 --- a/src/simd/wide_simd_impl.rs +++ b/src/simd/wide_simd_impl.rs @@ -194,7 +194,7 @@ macro_rules! impl_wide_f32 ( #[inline(always)] fn select(self, cond: Self::SimdBool, other: Self) -> Self { - $WideF32xX(cond.0.select(self.0, other.0)) + $WideF32xX(cond.0.blend(self.0, other.0)) } } @@ -240,7 +240,7 @@ macro_rules! impl_wide_f32 ( #[inline(always)] fn select(self, cond: Self::SimdBool, other: Self) -> Self { - $WideBoolF32xX(cond.0.select(self.0, other.0)) + $WideBoolF32xX(cond.0.blend(self.0, other.0)) } } @@ -864,7 +864,7 @@ macro_rules! impl_wide_f32 ( #[inline(always)] fn simd_to_exp(self) -> (Self::SimdRealField, Self) { let ge = self.0.simd_ge(Self::one().0); - let exp = ge.select(Self::one().0, -Self::one().0); + let exp = ge.blend(Self::one().0, -Self::one().0); ($WideF32xX(self.0 * exp), $WideF32xX(exp)) } From f747e79b342f1398054ba998d09ed28fb853a8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Fri, 7 Aug 2026 09:10:01 +0200 Subject: [PATCH 2/2] Release v0.10.2 --- CHANGELOG | 3 +++ Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 5b9396a..09161ea 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +## Release v0.10.2 (07 August 2026) +- Downgraded `wide` to 1.5 because its version 1.6 got yanked. + ## Release v0.10.1 (02 August 2026) - Bump the minimum `wide` version to 1.6, and switch from the deprecated `blend`/`Cmp*` APIs to `select` and the inherent `simd_*` comparison methods. diff --git a/Cargo.toml b/Cargo.toml index 834a832..4a80cba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "simba" -version = "0.10.1" +version = "0.10.2" authors = ["sebcrozet "] description = "SIMD algebra for Rust" keywords = ["algebra", "simd", "math"]