fix a warning in test/alignedbox

This commit is contained in:
Gael Guennebaud 2009-01-12 15:29:51 +00:00
parent 1fc17c4792
commit 9d97c06d9d

View File

@ -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);