Fix compilation of test when arbitrary is enabled but not `debug`.
This commit is contained in:
parent
b272f3ba76
commit
1706f9c15f
|
@ -5,6 +5,7 @@ set -ev
|
|||
if [ -z "$NO_STD" ]; then
|
||||
if [ -z "$LAPACK" ]; then
|
||||
cargo test --verbose;
|
||||
cargo test --verbose "arbitrary";
|
||||
cargo test --verbose "debug arbitrary mint serde-serialize abomonation-serialize";
|
||||
else
|
||||
cd nalgebra-lapack; cargo test --verbose;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![cfg(feature = "arbitrary")]
|
||||
#![cfg(all(feature = "arbitrary", feature = "debug"))]
|
||||
|
||||
use std::cmp;
|
||||
use na::{DMatrix, Matrix4x3, DVector, Vector4};
|
||||
|
|
Loading…
Reference in New Issue