diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-11-02 14:33:33 +0100 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-11-02 14:33:33 +0100 |
commit | d204ec491d7862eef6a6a2f00a990ec483e5d97d (patch) | |
tree | 267a16928ccebac0a8c9974cd29e3858a36610fc | |
parent | 3a3f163e312f292550768314881195eac036ddc4 (diff) |
Additional fix to enforce the compiler to use the correct prunning method.
-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 ad294fc98..92fff4057 100644 --- a/test/sparse_basic.cpp +++ b/test/sparse_basic.cpp @@ -246,7 +246,7 @@ template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& re m2.finalize(); VERIFY(countFalseNonZero+countTrueNonZero == m2.nonZeros()); VERIFY_IS_APPROX(m2, refM2); - m2.prune(1); + m2.prune(Scalar(1)); VERIFY(countTrueNonZero==m2.nonZeros()); VERIFY_IS_APPROX(m2, refM2); } |