Skip to content

Commit

Permalink
Remove deprecated intersections_many_threaded
Browse files Browse the repository at this point in the history
  • Loading branch information
clbarnes committed Jan 10, 2024
1 parent f76b0ae commit aa9191d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions python/ncollpyde/_ncollpyde.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ class TriMeshWrapper:
def intersections_many_threaded2(
self, src_points: Points, tgt_points: Points
) -> Tuple[npt.NDArray[np.uint64], Points, npt.NDArray[np.bool_]]: ...
def intersections_many_threaded(
self, src_points: Points, tgt_points: Points
) -> Tuple[List[int], Points, List[bool]]: ...
def sdf_intersections(
self, points: Points, vectors: Points, threaded: bool
) -> Tuple[npt.NDArray[np.float_], npt.NDArray[np.float_]]: ...
5 changes: 4 additions & 1 deletion tests/test_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,10 @@ def test_ncollpyde_intersection(mesh, benchmark, threads):
@pytest.mark.benchmark(group=INTERSECTION_PARALLEL_IMPL)
@pytest.mark.parametrize(
("method_name",),
[("intersections_many_threaded",), ("intersections_many_threaded2",)],
[
# ("intersections_many_threaded",),
("intersections_many_threaded2",),
],
)
def test_ncollpyde_intersection_impls(mesh, benchmark, method_name):
n_edges = 1_000
Expand Down

0 comments on commit aa9191d

Please sign in to comment.