Skip to content

Commit

Permalink
Changed function name in bm_cells from camel case to snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Nov 14, 2023
1 parent 68bd066 commit 22e9a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/bm_cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))


Expand Down

0 comments on commit 22e9a76

Please sign in to comment.