Skip to content

Commit

Permalink
GmMultiPolyIntersector for python - fix _zeroed_z
Browse files Browse the repository at this point in the history
  • Loading branch information
mkennard-aquaveo committed Jan 4, 2024
1 parent eb6e3db commit 565748e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _run_test(self, pt1, pt2, poly_points, polys, poly_ids, t_vals, pts, startin

# Check points
assert len(out_pts) == len(pts)
for idx, (out_point, point) in enumerate(zip(self._zeroed_z(out_pts), self._zeroed_z(pts))):
for idx, (out_point, point) in enumerate(zip(_zeroed_z(out_pts), _zeroed_z(pts))):
for i in range(3):
assert_str = f'Point {idx}[{i}], : Expected {point[i]}. Got {out_point[i]}'
assert math.isclose(out_point[i], point[i]), assert_str
Expand Down

0 comments on commit 565748e

Please # to comment.