reduce float warnings (comparisons and implicit conversions)
diff --git a/test/sparse_vector.cpp b/test/sparse_vector.cpp
index 7bd57cd..e1e74f3 100644
--- a/test/sparse_vector.cpp
+++ b/test/sparse_vector.cpp
@@ -47,8 +47,8 @@
for (typename SparseVectorType::InnerIterator it(v1); it; ++it,++j)
{
VERIFY(nonzerocoords[j]==it.index());
- VERIFY(it.value()==v1.coeff(it.index()));
- VERIFY(it.value()==refV1.coeff(it.index()));
+ VERIFY_IS_EQUAL(it.value(), v1.coeff(it.index()));
+ VERIFY_IS_EQUAL(it.value(), refV1.coeff(it.index()));
}
}
VERIFY_IS_APPROX(v1, refV1);