Skip to content

Commit 89885eb

Browse files
committed
Modified a missed pipe operator in the attenuate_call method for the transient SPR.
1 parent 01babdb commit 89885eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/forcefinder/core/source_path_receiver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
from joblib import delayed, Parallel
5252
import warnings
5353
from copy import deepcopy
54+
from typing import Union
5455

5556
class SourcePathReceiver:
5657
"""
@@ -3764,7 +3765,7 @@ def sosfiltfilt(self, sos, in_place=True, **sosfiltfilt_kwargs):
37643765
else:
37653766
return work_object
37663767

3767-
def attenuate_force(self, limit: float | np.ndarray,
3768+
def attenuate_force(self, limit: Union[float, np.ndarray],
37683769
full_scale: float = 1.0,
37693770
in_place: bool =True):
37703771
"""

0 commit comments

Comments
 (0)