We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f806ff commit dee8fa1Copy full SHA for dee8fa1
kapture/algo/compare.py
@@ -617,7 +617,7 @@ def equal_points3d(
617
bool_array = np.isclose(points3d_a.as_array(), points3d_b.as_array())
618
are_equal = bool_array.all()
619
if not are_equal:
620
- diffs = [n for n, b in enumerate(bool_array) if not b]
+ diffs = [n for n, b in enumerate(bool_array) if not b.all()]
621
diffs = diffs[:15]
622
diffs = ['element {} : {} != {}'.format(n, points3d_a[n], points3d_b[n]) for n in diffs]
623
getLogger().debug('equal_points3d:\n{}'.format('\n'.join(diffs)))
0 commit comments