From a50e567fcd07746285a62bc17fc84e45162bfaf6 Mon Sep 17 00:00:00 2001 From: Max Orok Date: Mon, 20 Apr 2020 10:05:39 -0400 Subject: [PATCH] Fix alga cfg gate for some quickcheck tests. --- tests/core/conversion.rs | 2 +- tests/core/matrix.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core/conversion.rs b/tests/core/conversion.rs index 74aa41e9..b7a8c5f8 100644 --- a/tests/core/conversion.rs +++ b/tests/core/conversion.rs @@ -1,4 +1,4 @@ -#![cfg(feature = "arbitrary")] +#![cfg(all(feature = "arbitrary", feature = "alga"))] use alga::linear::Transformation; use na::{ self, Affine3, Isometry3, Matrix2, Matrix2x3, Matrix2x4, Matrix2x5, Matrix2x6, Matrix3, diff --git a/tests/core/matrix.rs b/tests/core/matrix.rs index 9e25db58..6ade807f 100644 --- a/tests/core/matrix.rs +++ b/tests/core/matrix.rs @@ -945,7 +945,7 @@ mod normalization_tests { } } -#[cfg(feature = "arbitrary")] +#[cfg(all(feature = "arbitrary", feature = "alga"))] // FIXME: move this to alga ? mod finite_dim_inner_space_tests { use super::*;