Skip to content

Commit df04e6a

Browse files
committed
Back to size
1 parent 2a61fee commit df04e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glass/galaxies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def redshifts_from_nz(
152152
)
153153
total += count_out[k]
154154

155-
assert total == redshifts.shape[0] # noqa: S101
155+
assert total == redshifts.size # noqa: S101
156156

157157
return redshifts # ty: ignore[invalid-return-type]
158158

0 commit comments

Comments
 (0)