Skip to content

Commit

Permalink
fix: syntax error for Python 3.10 (as per #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelSiq committed Nov 14, 2023
1 parent 9c8f6bf commit a5526ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dbcv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def get_subarray(
return arr
if inds_b is None:
inds_b = inds_a
return arr[*np.meshgrid(inds_a, inds_b)]
inds_a_mesh, inds_b_mesh = np.meshgrid(inds_a, inds_b)
return arr[inds_a_mesh, inds_b_mesh]


def get_internal_objects(mutual_reach_dists: npt.NDArray[np.float64]) -> npt.NDArray[np.float64]:
Expand Down

0 comments on commit a5526ae

Please sign in to comment.