Skip to content

Commit 6f1f2bc

Browse files
committed
hotfix: parameter name fixed with specific kwrd
1 parent ab5e9b4 commit 6f1f2bc

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

elastica/callback_functions.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ class CallBackBaseClass(Generic[T]):
2626
2727
"""
2828

29-
def __init__(self) -> None:
30-
"""
31-
CallBackBaseClass does not need any input parameters.
32-
"""
33-
pass
34-
3529
def make_callback(self, system: T, time: np.float64, current_step: int) -> None:
3630
"""
3731
This method is called every time step. Users can define

elastica/dissipation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ def dampen_rates_protocol(rod: RodType) -> None:
272272

273273
return dampen_rates_protocol
274274

275-
def dampen_rates(self, rod: RodType, time: np.float64) -> None:
276-
self._dampen_rates_protocol(rod)
275+
def dampen_rates(self, system: RodType, time: np.float64) -> None:
276+
self._dampen_rates_protocol(system)
277277

278278

279279
class LaplaceDissipationFilter(DamperBase):

0 commit comments

Comments
 (0)