Skip to content

Commit

Permalink
np.finfo.machar is depricated, use finfo.tiny and finfo.max instead
Browse files Browse the repository at this point in the history
  • Loading branch information
David Verelst committed Nov 6, 2023
1 parent c37965b commit ccb41c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wafo/kdetools/kdetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@

__all__ = ['TKDE', 'KDE', 'test_docstrings', 'KRegression', 'BKRegression']

_TINY = np.finfo(float).machar.tiny
# _REALMIN = np.finfo(float).machar.xmin
_REALMAX = np.finfo(float).machar.xmax
_TINY = np.finfo(float).tiny
# _REALMIN = np.finfo(float).min
_REALMAX = np.finfo(float).max
_EPS = np.finfo(float).eps


Expand Down

0 comments on commit ccb41c7

Please sign in to comment.