aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cwiseop.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-11-05 23:30:49 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-11-05 23:30:49 +0100
commit478de03bd8d91ab6238f322ed4783daa71a97b40 (patch)
tree827465ec30c7f10f753513b46f7b92b2e08302dc /test/cwiseop.cpp
parentcdd3e850608890acf74c56f4541a3b39078af8f0 (diff)
fix a couple of warnings in the unit tests
Diffstat (limited to 'test/cwiseop.cpp')
-rw-r--r--test/cwiseop.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/cwiseop.cpp b/test/cwiseop.cpp
index 571c5a800..b3ca94e3a 100644
--- a/test/cwiseop.cpp
+++ b/test/cwiseop.cpp
@@ -60,11 +60,8 @@ template<typename MatrixType> void cwiseops(const MatrixType& m)
mzero = MatrixType::Zero(rows, cols),
mones = MatrixType::Ones(rows, cols),
identity = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
- ::Identity(rows, rows),
- square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows, rows);
- VectorType v1 = VectorType::Random(rows),
- v2 = VectorType::Random(rows),
- vzero = VectorType::Zero(rows),
+ ::Identity(rows, rows);
+ VectorType vzero = VectorType::Zero(rows),
vones = VectorType::Ones(rows),
v3(rows);