aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sparse_basic.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-07-13 14:55:03 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-07-13 14:55:03 +0200
commit1e7b1a8a85bf0ea54d4471c8b79de443f6bb0ccb (patch)
treefe86d208fec037d95a531eb6f887f0e3f366a4fc /test/sparse_basic.cpp
parentab17f9272898390efff279c864a40f928752be43 (diff)
add a SparseNestByValue expression and fix issue in sparse adjoint evaluation
Diffstat (limited to 'test/sparse_basic.cpp')
-rw-r--r--test/sparse_basic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp
index 9b7d7c4e6..666eea872 100644
--- a/test/sparse_basic.cpp
+++ b/test/sparse_basic.cpp
@@ -299,6 +299,8 @@ template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& re
initSparse<Scalar>(density, refMat2, m2);
VERIFY_IS_APPROX(m2.transpose().eval(), refMat2.transpose().eval());
VERIFY_IS_APPROX(m2.transpose(), refMat2.transpose());
+
+ VERIFY_IS_APPROX(SparseMatrixType(m2.adjoint()), refMat2.adjoint());
}
// test prune