Skip to content

Commit 7b66032

Browse files
committed
Fix test typo
1 parent f102de7 commit 7b66032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core_simd/tests/ops_macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,8 @@ macro_rules! impl_float_tests {
533533
// Special case where both values are zero
534534
let p_zero = Vector::<LANES>::splat(0.);
535535
let n_zero = Vector::<LANES>::splat(-0.);
536-
assert!(p_zero.min(n_zero).to_array().iter().all(|x| *x == 0.));
537-
assert!(n_zero.min(p_zero).to_array().iter().all(|x| *x == 0.));
536+
assert!(p_zero.max(n_zero).to_array().iter().all(|x| *x == 0.));
537+
assert!(n_zero.max(p_zero).to_array().iter().all(|x| *x == 0.));
538538
}
539539

540540
fn clamp<const LANES: usize>() {

0 commit comments

Comments
 (0)