commit | a9688f0b717568713ff1acef3466a0da00a68980 | [log] [tgz] |
---|---|---|
author | Gael Guennebaud <g.gael@free.fr> | Mon Feb 09 09:59:30 2009 +0000 |
committer | Gael Guennebaud <g.gael@free.fr> | Mon Feb 09 09:59:30 2009 +0000 |
tree | 8eea0db4c744fdc20c110cf767c884e80f2b83e4 | |
parent | e0be0206222d3891c1511fc2ec4f4d41c3ccdf84 [diff] [blame] |
- add diagonal * sparse product as an expression - split sparse_basic unit test - various fixes in sparse module
diff --git a/test/sparse_vector.cpp b/test/sparse_vector.cpp index 8207e52..934719f 100644 --- a/test/sparse_vector.cpp +++ b/test/sparse_vector.cpp
@@ -84,6 +84,7 @@ 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)); }