Skip to content

Commit ee3e354

Browse files
committed
fix DocString and default arguments
1 parent b8375d8 commit ee3e354

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyat/at/acceptance/floodfill_acceptance.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def floodfill(
2626
offset: list | np.ndarray | None = None,
2727
verbose: bool = False,
2828
pool_size: int = 10,
29-
use_mp: bool = True,
29+
use_mp: bool | at.MPMode = True,
3030
):
3131
"""Find the 2D acceptance of the ring using Flood Fill.
3232
@@ -50,7 +50,8 @@ def floodfill(
5050
a small deviation to the tracked coordinates,
5151
e.g. [10e-5 10e-5] in the transverse planes.
5252
verbose: Print extra info. Default 0.
53-
use_mp: Parallel tracking with queue. Only CPU, not GPU.
53+
use_mp: Parallel tracking, default True. It uses at.MPMode.CPU,
54+
not at.MPMode.GPU.
5455
pool_size: Number of cpus.
5556
5657
Returns:

0 commit comments

Comments
 (0)