File tree 1 file changed +5
-4
lines changed
impedance/models/circuits 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,11 @@ def wrapper(p, f):
45
45
)
46
46
else :
47
47
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
52
53
circuit_elements ["np" ] = np
53
54
54
55
return wrapper
You can’t perform that action at this time.
0 commit comments