You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the tests for unique_rows also test float arrays, unique_rows does not support a tol argument such as unique.
I tried to fix this by replacing the call to np.unique in https://github.com/nschloe/npx/blob/main/src/npx/_unique.py#L53 to a call to your unique that supports a tol argument but that simple fix did not do the trick unfortunately (led to some ufunc dtype incompatibility exception)
It would be nice if unique_rows also supported a tol argument.
The text was updated successfully, but these errors were encountered:
While the tests for
unique_rows
also test float arrays,unique_rows
does not support atol
argument such asunique
.I tried to fix this by replacing the call to
np.unique
in https://github.com/nschloe/npx/blob/main/src/npx/_unique.py#L53 to a call to yourunique
that supports atol
argument but that simple fix did not do the trick unfortunately (led to some ufunc dtype incompatibility exception)It would be nice if
unique_rows
also supported atol
argument.The text was updated successfully, but these errors were encountered: