diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-01-26 10:01:18 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-01-26 10:01:18 -0500 |
commit | 313eea8f10b79eca013d5fc983f2e7f9fea1eb5b (patch) | |
tree | 2271744486a3eeb5e054db8f39b5d8bfe77f8dcb /test/triangular.cpp | |
parent | f88ca0ac79ad67124d1c61d258d243e9f66de22f (diff) |
fix the remainder of bug #159
Diffstat (limited to 'test/triangular.cpp')
-rw-r--r-- | test/triangular.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/triangular.cpp b/test/triangular.cpp index 0c69749e0..69decb793 100644 --- a/test/triangular.cpp +++ b/test/triangular.cpp @@ -235,6 +235,11 @@ template<typename MatrixType> void triangular_rect(const MatrixType& m) VERIFY_IS_APPROX(m2,m3); } +void bug_159() +{ + Matrix3d m = Matrix3d::Random().triangularView<Lower>(); +} + void test_triangular() { for(int i = 0; i < g_repeat ; i++) @@ -255,4 +260,6 @@ void test_triangular() CALL_SUBTEST_5( triangular_rect(MatrixXcd(r, c)) ); CALL_SUBTEST_6( triangular_rect(Matrix<float,Dynamic,Dynamic,RowMajor>(r, c)) ); } + + CALL_SUBTEST_1( bug_159() ); } |