mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-11-21 03:11:25 +08:00
Test for the sparse Blue norm
This commit is contained in:
parent
5dcf6caa36
commit
5b9bb00265
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user