Skip to content

Commit

Permalink
#181: Replaced np.int with int as the attribute is deprecated by numpy (
Browse files Browse the repository at this point in the history
#192)

Co-authored-by: Nezar Abdennur <[email protected]>
  • Loading branch information
harshit148 and nvictus authored Apr 6, 2024
1 parent fe33a9d commit 8ed276c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioframe/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ def _closest_intidxs(
closest_intidxs.append(closest_idxs_group)

if len(closest_intidxs) == 0:
return np.ndarray(shape=(0, 2), dtype=np.int64)
return np.ndarray(shape=(0, 2), dtype=int)
closest_intidxs = np.vstack(closest_intidxs)

return closest_intidxs
Expand Down

0 comments on commit 8ed276c

Please sign in to comment.