Make "compare" a required feature for the `matrixcompare` example
This avoids distracting error messages when running `cargo test` and gives a better error when trying to run the example without the required feature.
This commit is contained in:
parent
bbe1d0cd56
commit
df33dec457
|
@ -92,6 +92,10 @@ itertools = "0.10"
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [ "nalgebra-lapack", "nalgebra-glm", "nalgebra-sparse" ]
|
members = [ "nalgebra-lapack", "nalgebra-glm", "nalgebra-sparse" ]
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "matrixcompare"
|
||||||
|
required-features = ["compare"]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "nalgebra_bench"
|
name = "nalgebra_bench"
|
||||||
harness = false
|
harness = false
|
||||||
|
|
Loading…
Reference in New Issue