From ccb41c76e170b756683c537e602248d0d9b0443c Mon Sep 17 00:00:00 2001 From: David Verelst Date: Mon, 6 Nov 2023 09:09:57 +0100 Subject: [PATCH] np.finfo.machar is depricated, use finfo.tiny and finfo.max instead --- src/wafo/kdetools/kdetools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wafo/kdetools/kdetools.py b/src/wafo/kdetools/kdetools.py index c45da0c..22545dd 100644 --- a/src/wafo/kdetools/kdetools.py +++ b/src/wafo/kdetools/kdetools.py @@ -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