diff --git a/benchmark/bm_cells.py b/benchmark/bm_cells.py index c5df472a..4af2f5f1 100644 --- a/benchmark/bm_cells.py +++ b/benchmark/bm_cells.py @@ -19,7 +19,7 @@ def get_n_random_points_in_region(region, N): Z = np.random.randint(region_bounds[4], region_bounds[5], size=10000) pts = [[x, y, z] for x, y, z in zip(X, Y, Z)] - ipts = region.mesh.insidePoints(pts).coordinates + ipts = region.mesh.inside_points(pts).coordinates return np.vstack(random.choices(ipts, k=N))