Skip to content

Commit 6cf315a

Browse files
authored
Fix test failure on i386 (#248)
Closes: #247
1 parent 5d223a7 commit 6cf315a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flox/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def factorize_(
537537
right = expect.closed_right
538538
idx = np.digitize(
539539
flat,
540-
bins=bins.view(np.intp) if bins.dtype.kind == "M" else bins,
540+
bins=bins.view(np.int64) if bins.dtype.kind == "M" else bins,
541541
right=right,
542542
)
543543
idx -= 1

0 commit comments

Comments
 (0)