diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-12-14 15:11:04 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-12-14 15:11:04 +0100 |
commit | 26a2c6fc1676d75f4360a993461d8e2778d454f2 (patch) | |
tree | 9bc897b2ea7c4e88cec8dca956f8ad04eb960c71 /test/sparse_basic.cpp | |
parent | 546ab97d7679c75fadbf9e003c7c75faa9a179e5 (diff) |
fix unit test
Diffstat (limited to 'test/sparse_basic.cpp')
-rw-r--r-- | test/sparse_basic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp index 384985028..f84b6e3f5 100644 --- a/test/sparse_basic.cpp +++ b/test/sparse_basic.cpp @@ -228,8 +228,8 @@ template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& re VERIFY_RAISES_ASSERT( m1 -= m1.innerVector(0) ); VERIFY_RAISES_ASSERT( refM1 -= m1.innerVector(0) ); VERIFY_RAISES_ASSERT( refM1 += m1.innerVector(0) ); - m1 = m4; refM1 = refM4; } + m1 = m4; refM1 = refM4; // test aliasing VERIFY_IS_APPROX((m1 = -m1), (refM1 = -refM1)); |