aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sparse_vector.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-02-09 09:59:30 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-02-09 09:59:30 +0000
commita9688f0b717568713ff1acef3466a0da00a68980 (patch)
tree8eea0db4c744fdc20c110cf767c884e80f2b83e4 /test/sparse_vector.cpp
parente0be0206222d3891c1511fc2ec4f4d41c3ccdf84 (diff)
- add diagonal * sparse product as an expression
- split sparse_basic unit test - various fixes in sparse module
Diffstat (limited to 'test/sparse_vector.cpp')
-rw-r--r--test/sparse_vector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sparse_vector.cpp b/test/sparse_vector.cpp
index 8207e522a..934719f2c 100644
--- a/test/sparse_vector.cpp
+++ b/test/sparse_vector.cpp
@@ -84,6 +84,7 @@ template<typename Scalar> void sparse_vector(int rows, int cols)
VERIFY_IS_APPROX(v1-=v2, refV1-=refV2);
VERIFY_IS_APPROX(v1.dot(v2), refV1.dot(refV2));
+ VERIFY_IS_APPROX(v1.dot(refV2), refV1.dot(refV2));
}