Skip to content

Commit

Permalink
modify assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
waltsims committed Dec 19, 2023
1 parent 29aa637 commit c9f2d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kwave/utils/mapgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def make_spiral_circle_points(num_points: int, radius: float) -> np.ndarray:

def make_concentric_circle_points(num_points: int, radius: float) -> Tuple[np.ndarray, int]:

assert num_points > 1, "The number of points must be greater than 1."
assert num_points >= 1, "The number of points must be greater or equal to 1."

num_radial = int(np.ceil(np.sqrt(num_points / np.pi)))

Expand Down

0 comments on commit c9f2d65

Please sign in to comment.