mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 01:29:35 +08:00
fix a warning in test/alignedbox
This commit is contained in:
parent
1fc17c4792
commit
9d97c06d9d
@ -48,7 +48,7 @@ template<typename BoxType> void alignedbox(const BoxType& _box)
|
|||||||
|
|
||||||
b0.extend(p0);
|
b0.extend(p0);
|
||||||
b0.extend(p1);
|
b0.extend(p1);
|
||||||
VERIFY(b0.contains(p0*s1+(1.-s1)*p1));
|
VERIFY(b0.contains(p0*s1+(Scalar(1)-s1)*p1));
|
||||||
VERIFY(!b0.contains(p0 + (1+s1)*(p1-p0)));
|
VERIFY(!b0.contains(p0 + (1+s1)*(p1-p0)));
|
||||||
|
|
||||||
(b2 = b0).extend(b1);
|
(b2 = b0).extend(b1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user