Skip to content

Commit 4b93774

Browse files
authored
Fix docstring typos in PADMM types (newton-physics#2253)
1 parent 5447026 commit 4b93774

File tree

1 file changed

+3
-3
lines changed
  • newton/_src/solvers/kamino/_src/solvers/padmm

1 file changed

+3
-3
lines changed

newton/_src/solvers/kamino/_src/solvers/padmm/types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ def finalize(self, size: SizeKamino, max_iters: int, use_acceleration: bool = Fa
11281128
max_iters (int): The maximum number of iterations for which to allocate convergence data.
11291129
11301130
Raises:
1131-
ValueError: If either ``size.num_worlds`` or `max_iters`` are not a positive integers.
1131+
ValueError: If either ``size.num_worlds`` or ``max_iters`` are not positive integers.
11321132
"""
11331133

11341134
# Ensure num_worlds is valid
@@ -1250,7 +1250,7 @@ def __init__(
12501250
device (wp.DeviceLike): The target Warp device on which all data will be allocated.
12511251
12521252
Raises:
1253-
ValueError: If either ``size.num_worlds`` or `max_iters`` are not a positive integers.
1253+
ValueError: If either ``size.num_worlds`` or ``max_iters`` are not positive integers.
12541254
"""
12551255

12561256
self.config: wp.array | None = None
@@ -1317,7 +1317,7 @@ def finalize(
13171317
device (wp.DeviceLike): The target Warp device on which all data will be allocated.
13181318
13191319
Raises:
1320-
ValueError: If either ``size.num_worlds`` or `max_iters`` are not a positive integers.
1320+
ValueError: If either ``size.num_worlds`` or ``max_iters`` are not positive integers.
13211321
"""
13221322
with wp.ScopedDevice(device):
13231323
self.config = wp.zeros(shape=(size.num_worlds,), dtype=PADMMConfigStruct)

0 commit comments

Comments
 (0)