Skip to content

Commit

Permalink
CLN: mark uniqueRows as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
halbmy committed Nov 13, 2024
1 parent 105ee4c commit 1371ca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygimli/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ def uniqueRows(data, precision=2):
>>> bool(np.all(A[ia] == unA))
True
"""
pg.deprecated(hint="Please use np.unique(axis=0) instead.")
fak = 100**precision
dFix = np.fix(data * fak) / fak + 0.0
dtype = np.dtype((np.void, dFix.dtype.itemsize * dFix.shape[1]))
Expand Down

0 comments on commit 1371ca6

Please sign in to comment.