bug #881: make SparseMatrixBase::isApprox(SparseMatrixBase) exploits sparse computations instead of converting the operands to dense matrices.
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp
index c86534b..e5b6d5a 100644
--- a/test/sparse_basic.cpp
+++ b/test/sparse_basic.cpp
@@ -304,6 +304,10 @@
VERIFY_IS_APPROX(m2.transpose(), refMat2.transpose());
VERIFY_IS_APPROX(SparseMatrixType(m2.adjoint()), refMat2.adjoint());
+
+ // check isApprox handles opposite storage order
+ typename Transpose<SparseMatrixType>::PlainObject m3(m2);
+ VERIFY(m2.isApprox(m3));
}