aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/linearstructure.cpp
diff options
context:
space:
mode:
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),