diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-11 15:56:21 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-11 15:56:21 +0000 |
commit | bcf7b291853eba135c3b63d3484ddd14c750b246 (patch) | |
tree | e5471155293c1151053a5a39a3605375bf63df87 /test/linearstructure.cpp | |
parent | e092cbc75cadef1158d43f07b32e4ae0bf9372e2 (diff) |
rework Identity API: no longer restricted to square matrices
Diffstat (limited to 'test/linearstructure.cpp')
-rw-r--r-- | test/linearstructure.cpp | 2 |
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), |