diff options
author | 2011-11-05 23:30:49 +0100 | |
---|---|---|
committer | 2011-11-05 23:30:49 +0100 | |
commit | 478de03bd8d91ab6238f322ed4783daa71a97b40 (patch) | |
tree | 827465ec30c7f10f753513b46f7b92b2e08302dc /test/cwiseop.cpp | |
parent | cdd3e850608890acf74c56f4541a3b39078af8f0 (diff) |
fix a couple of warnings in the unit tests
Diffstat (limited to 'test/cwiseop.cpp')
-rw-r--r-- | test/cwiseop.cpp | 7 |
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); |