add a SparseNestByValue expression and fix issue in sparse adjoint evaluation

This commit is contained in:
Gael Guennebaud
2009-07-13 14:55:03 +02:00
parent ab17f92728
commit 1e7b1a8a85
7 changed files with 97 additions and 7 deletions

View File

@@ -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