diff --git a/src/numdifftools/extrapolation.py b/src/numdifftools/extrapolation.py index 3442552..c651c13 100644 --- a/src/numdifftools/extrapolation.py +++ b/src/numdifftools/extrapolation.py @@ -7,7 +7,7 @@ import warnings import numpy as np from scipy import linalg -from scipy.ndimage.filters import convolve1d +from scipy.ndimage import convolve1d EPS = np.finfo(float).eps _EPS = EPS diff --git a/src/numdifftools/multicomplex.py b/src/numdifftools/multicomplex.py index e4c80e9..03cb643 100644 --- a/src/numdifftools/multicomplex.py +++ b/src/numdifftools/multicomplex.py @@ -32,7 +32,7 @@ from __future__ import division import numpy as np -_TINY = np.finfo(float).machar.tiny +_TINY = np.finfo(float).tiny def c_atan2(x, y):