From 313eea8f10b79eca013d5fc983f2e7f9fea1eb5b Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 26 Jan 2011 10:01:18 -0500 Subject: fix the remainder of bug #159 --- test/triangular.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/triangular.cpp') 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 void triangular_rect(const MatrixType& m) VERIFY_IS_APPROX(m2,m3); } +void bug_159() +{ + Matrix3d m = Matrix3d::Random().triangularView(); +} + 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(r, c)) ); } + + CALL_SUBTEST_1( bug_159() ); } -- cgit v1.2.3