aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/inverse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp
index 1195bcc76..1e7b20958 100644
--- a/test/inverse.cpp
+++ b/test/inverse.cpp
@@ -73,6 +73,7 @@ template<typename MatrixType> void inverse(const MatrixType& m)
{
Matrix<Scalar, MatrixType::RowsAtCompileTime+1, MatrixType::RowsAtCompileTime+1, MatrixType::Options> m3;
m3.setRandom();
+ m3.topLeftCorner(rows,rows) = m1;
m2 = m3.template topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>().inverse();
VERIFY_IS_APPROX( (m3.template topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>()), m2.inverse() );
}