We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31fed88 commit e102170Copy full SHA for e102170
1 file changed
src/sed/binning/binning.py
@@ -122,7 +122,7 @@ def bin_partition(
122
# convert bin centers to bin edges:
123
if all(isinstance(x, np.ndarray) for x in bins):
124
# create a copy to avoid modifying input data
125
- bins = list(bins)
+ bins = list(cast(list[np.ndarray], bins))
126
for i, bin_centers in enumerate(bins):
127
bins[i] = bin_centers_to_bin_edges(bin_centers)
128
else:
0 commit comments