Skip to content

Commit a53ee5d

Browse files
committed
fix flake8
1 parent 772f6b5 commit a53ee5d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

impedance/models/circuits/elements.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ def wrapper(p, f):
4545
)
4646
else:
4747
circuit_elements[func.__name__] = wrapper
48-
# Adding numpy to circuit_elements for proper evaluation with numpy>=2.0.0 because the
49-
# scalar representation was changed. "Scalars are now printed as np.float64(3.0) rather than
50-
# just 3.0."
51-
# https://numpy.org/doc/2.0/release/2.0.0-notes.html#representation-of-numpy-scalars-changed
48+
# Adding numpy to circuit_elements for proper evaluation with
49+
# numpy>=2.0.0 because the scalar representation was changed.
50+
# "Scalars are now printed as np.float64(3.0) rather than just 3.0."
51+
# https://numpy.org/doc/2.0/release/2.0.0-notes.html
52+
# #representation-of-numpy-scalars-changed
5253
circuit_elements["np"] = np
5354

5455
return wrapper

0 commit comments

Comments
 (0)