diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-01-26 09:49:06 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-01-26 09:49:06 -0500 |
commit | f88ca0ac79ad67124d1c61d258d243e9f66de22f (patch) | |
tree | a26a23ab3822174233c892a17bec884d61ef8960 /test | |
parent | 9a5ded3e1d3201b2bce6da92de44e89140b58611 (diff) |
fix the eigen3 part of bug #159 - build issue with selfadjointview
Diffstat (limited to 'test')
-rw-r--r-- | test/selfadjoint.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/selfadjoint.cpp b/test/selfadjoint.cpp index a92ad96b5..622045f20 100644 --- a/test/selfadjoint.cpp +++ b/test/selfadjoint.cpp @@ -52,6 +52,11 @@ template<typename MatrixType> void selfadjoint(const MatrixType& m) VERIFY_IS_APPROX(m3, m3.adjoint()); } +void bug_159() +{ + Matrix3d m = Matrix3d::Random().selfadjointView<Lower>(); +} + void test_selfadjoint() { for(int i = 0; i < g_repeat ; i++) @@ -64,4 +69,6 @@ void test_selfadjoint() CALL_SUBTEST_4( selfadjoint(MatrixXcd(s,s)) ); CALL_SUBTEST_5( selfadjoint(Matrix<float,Dynamic,Dynamic,RowMajor>(s, s)) ); } + + CALL_SUBTEST_1( bug_159() ); } |