Commit 5bbff04b authored by Martin Reinecke's avatar Martin Reinecke
Browse files

portability fix

parent 0bb08987
Pipeline #20796 passed with stage
in 4 minutes and 58 seconds
......@@ -189,7 +189,7 @@ def sqrt(a, out=None):
return out
def bincount(x, weights=None, minlength=0):
def bincount(x, weights=None, minlength=None):
if weights is not None:
weights = weights._data
res = np.bincount(x._data, weights, minlength)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment