commit | d204ec491d7862eef6a6a2f00a990ec483e5d97d | [log] [tgz] |
---|---|---|
author | Hauke Heibel <hauke.heibel@gmail.com> | Tue Nov 02 14:33:33 2010 +0100 |
committer | Hauke Heibel <hauke.heibel@gmail.com> | Tue Nov 02 14:33:33 2010 +0100 |
tree | 267a16928ccebac0a8c9974cd29e3858a36610fc | |
parent | 3a3f163e312f292550768314881195eac036ddc4 [diff] [blame] |
Additional fix to enforce the compiler to use the correct prunning method.
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp index ad294fc..92fff40 100644 --- a/test/sparse_basic.cpp +++ b/test/sparse_basic.cpp
@@ -246,7 +246,7 @@ 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); }