Skip to content

Commit

Permalink
Fix test failure on i386 (#248)
Browse files Browse the repository at this point in the history
Closes: #247
  • Loading branch information
avalentino authored Jun 17, 2023
1 parent 5d223a7 commit 6cf315a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flox/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def factorize_(
right = expect.closed_right
idx = np.digitize(
flat,
bins=bins.view(np.intp) if bins.dtype.kind == "M" else bins,
bins=bins.view(np.int64) if bins.dtype.kind == "M" else bins,
right=right,
)
idx -= 1
Expand Down

0 comments on commit 6cf315a

Please sign in to comment.