Skip to content

Commit

Permalink
fix numpy version (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
anaischossegros authored Oct 29, 2024
1 parent 8902dd2 commit 51c0764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geosketch/sketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def gs_gap(X, N, k='auto', seed=None, replace=False,
X /= X.max()

# Find max value along each dimension.
X_ptp = X.ptp(0)
X_ptp = np.ptp(X, 0)

# Range for binary search.
low_unit, high_unit = 0., max(X_ptp)
Expand Down

0 comments on commit 51c0764

Please sign in to comment.