Skip to content

Commit f102959

Browse files
committed
style(hpc): rustfmt — collapse multi-line assert in heel_f64x8 linf test
CI `format/stable` job flagged `cargo fmt --check` diff: the new `linf_picks_the_largest_gap` test (commit 71cdbd4) had a multi-line `assert!(...)` invocation. rustfmt prefers it on one line. Auto-applied via `cargo fmt`. No code change. CI signal: PR #160 format/stable.
1 parent b807075 commit f102959

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/hpc/heel_f64x8.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,7 @@ mod l1_l2_linf_tests {
343343
let a = vec![0.0f64, 0.0, 5.0, 0.0];
344344
let b = vec![0.0f64, 0.0, 0.0, 0.0];
345345
let result = linf_f64_simd(&a, &b);
346-
assert!(
347-
(result - 5.0).abs() < f64::EPSILON,
348-
"L∞ should be 5.0, got {}",
349-
result
350-
);
346+
assert!((result - 5.0).abs() < f64::EPSILON, "L∞ should be 5.0, got {}", result);
351347
}
352348
}
353349

0 commit comments

Comments
 (0)