diff options
Diffstat (limited to 'test/nesting_ops.cpp')
-rw-r--r-- | test/nesting_ops.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/nesting_ops.cpp b/test/nesting_ops.cpp index 2ad8f209f..565bc3644 100644 --- a/test/nesting_ops.cpp +++ b/test/nesting_ops.cpp @@ -42,6 +42,8 @@ template <typename MatrixType> void run_nesting_ops(const MatrixType& m) // not trigger any asserts or segmentation faults... more to come. VERIFY( (m.transpose() * m).diagonal().sum() == (m.transpose() * m).diagonal().sum() ); VERIFY( (m.transpose() * m).diagonal().array().abs().sum() == (m.transpose() * m).diagonal().array().abs().sum() ); + + VERIFY( (m.transpose() * m).array().abs().sum() == (m.transpose() * m).array().abs().sum() ); } void test_nesting_ops() |