Skip to content

Commit 952a0c7

Browse files
committed
tests/numeric: drop use std::f64 (1.99 fully deprecates legacy float consts)
With the module import, `f64::NAN` resolved to the deprecated `std::f64::NAN`; without it, it is the associated constant. Four sites. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017YPZhKpSxN7eSxk7VH2vzB
1 parent a016456 commit 952a0c7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎tests/numeric.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use approx::assert_abs_diff_eq;
66
use ndarray::{arr0, arr1, arr2, array, aview1, Array, Array1, Array2, Array3, Axis};
7-
use std::f64;
87

98
#[test]
109
fn test_mean_with_nan_values() {

0 commit comments

Comments
 (0)