We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea162e commit ff2f742Copy full SHA for ff2f742
src/python/PyImathTest/pyImathTest.in
100755
100644
@@ -586,7 +586,7 @@ def testBinaryVecMethods(f1, f2):
586
f = f1.cross(f2)
587
assert(len(f) == len(f1))
588
for i in range(0, len(f)):
589
- assert(f[i] == f1[i].cross(f2[i]))
+ assert(equalWithAbsError(f[i], f1[i].cross(f2[i]), eps))
590
591
assert(f1.cross(f2) == -f2.cross(f1))
592
@@ -601,7 +601,7 @@ def testBinaryVecMethods(f1, f2):
601
f = f1.cross(v)
602
603
604
- assert(f[i] == f1[i].cross(v))
+ assert(equalWithAbsError(f[i], f1[i].cross(v), eps))
605
606
assert(f1.cross(v) == -v.cross(f1))
607
0 commit comments