diff options
author | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2013-01-21 15:37:06 +0100 |
---|---|---|
committer | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2013-01-21 15:37:06 +0100 |
commit | 5b9bb0026512d078ca06ff8029abf499da2e66d9 (patch) | |
tree | 55575268740a115414c47a9cc52f38ba90089ad1 | |
parent | 5dcf6caa36180901d1a62cb3b0183bbcba639fa2 (diff) |
Test for the sparse Blue norm
-rw-r--r-- | test/sparse_vector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sparse_vector.cpp b/test/sparse_vector.cpp index 9d559f5bf..7973a47dc 100644 --- a/test/sparse_vector.cpp +++ b/test/sparse_vector.cpp @@ -77,6 +77,8 @@ template<typename Scalar> void sparse_vector(int rows, int cols) VERIFY_IS_APPROX(v1.squaredNorm(), refV1.squaredNorm()); + + VERIFY_IS_APPROX(v1.blueNorm(), refV1.blueNorm()); // test aliasing VERIFY_IS_APPROX((v1 = -v1), (refV1 = -refV1)); |