From d7cb138e2269806397149a45be0a8bdc26a3bbb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crozet=20S=C3=A9bastien?= Date: Sun, 25 Oct 2020 16:03:07 +0100 Subject: [PATCH] Fix warnings. --- examples/matrix_construction.rs | 2 +- tests/linalg/exp.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/matrix_construction.rs b/examples/matrix_construction.rs index 06f4c30b..bb78458f 100644 --- a/examples/matrix_construction.rs +++ b/examples/matrix_construction.rs @@ -1,6 +1,6 @@ extern crate nalgebra as na; -use na::{DMatrix, Matrix2x3, Matrix3x2, RowVector3, Vector2}; +use na::{DMatrix, Matrix2x3, RowVector3, Vector2}; fn main() { // All the following matrices are equal but constructed in different ways. diff --git a/tests/linalg/exp.rs b/tests/linalg/exp.rs index 93859934..f5b5243a 100644 --- a/tests/linalg/exp.rs +++ b/tests/linalg/exp.rs @@ -129,7 +129,7 @@ mod tests { #[test] fn exp_complex() { - use nalgebra::{Complex, ComplexField, DMatrix, DVector, Matrix2, RealField}; + use nalgebra::{Complex, DMatrix, DVector, Matrix2, RealField}; { let z = Matrix2::>::zeros();