From 8c60dba47203d247bca5b5d29dd0ac46e7dd1f5d Mon Sep 17 00:00:00 2001 From: Adam Kern Date: Wed, 23 Oct 2024 21:14:34 -0400 Subject: [PATCH] linspace call requires std --- tests/azip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/azip.rs b/tests/azip.rs index a4bb6ffac..8c0f16f37 100644 --- a/tests/azip.rs +++ b/tests/azip.rs @@ -216,7 +216,7 @@ fn test_azip2_sum() } #[test] -#[cfg(feature = "approx")] +#[cfg(all(feature = "approx", feature = "std"))] fn test_azip3_slices() { use approx::assert_abs_diff_eq;