diff --git a/wavelets_pytorch/wavelets.py b/wavelets_pytorch/wavelets.py index eb09dff..e8cbfbf 100644 --- a/wavelets_pytorch/wavelets.py +++ b/wavelets_pytorch/wavelets.py @@ -21,7 +21,7 @@ import scipy.signal import scipy.optimize import scipy.special -from scipy.misc import factorial +from scipy.special import factorial __all__ = ['Morlet', 'Paul', 'DOG', 'Ricker', 'Marr', 'Mexican_hat'] @@ -380,4 +380,4 @@ def __init__(self): # aliases for DOG2 Marr = Ricker -Mexican_hat = Ricker \ No newline at end of file +Mexican_hat = Ricker