Skip to content

Commit a79c042

Browse files
committed
v1.0.5
1 parent 8e6b9e9 commit a79c042

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

0 Bytes
Binary file not shown.

punpy/mc/mc_propagation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ def _perform_checks(
999999
count = 0
10001000
for i in range(len(x)):
10011001
if u_x[i] is None:
1002-
if hasattr(x[i], "__shape__"):
1002+
if hasattr(x[i], "shape"):
10031003
u_x[i] = np.zeros(x[i].shape)
10041004
else:
10051005
u_x[i] = 0.0

0 commit comments

Comments
 (0)