aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/linearstructure.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-11 15:56:21 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-11 15:56:21 +0000
commitbcf7b291853eba135c3b63d3484ddd14c750b246 (patch)
treee5471155293c1151053a5a39a3605375bf63df87 /test/linearstructure.cpp
parente092cbc75cadef1158d43f07b32e4ae0bf9372e2 (diff)
rework Identity API: no longer restricted to square matrices
Diffstat (limited to 'test/linearstructure.cpp')
-rw-r--r--test/linearstructure.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp
index c90488dd0..682315c7a 100644
--- a/test/linearstructure.cpp
+++ b/test/linearstructure.cpp
@@ -46,7 +46,7 @@ template<typename MatrixType> void linearStructure(const MatrixType& m)
m3(rows, cols),
mzero = MatrixType::zero(rows, cols),
identity = Matrix<Scalar, MatrixType::Traits::RowsAtCompileTime, MatrixType::Traits::RowsAtCompileTime>
- ::identity(rows),
+ ::identity(rows, rows),
square = Matrix<Scalar, MatrixType::Traits::RowsAtCompileTime, MatrixType::Traits::RowsAtCompileTime>
::random(rows, rows);
VectorType v1 = VectorType::random(rows),