Workaround compatibility issue with NumPy 2.0

This patches a vendored dependency. Eventually we should pull upstream
changes instead.
pull/480/head
nyanpasu64 2024-07-08 23:45:45 -07:00
rodzic b8283f42de
commit 6bddb53054
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -816,11 +816,6 @@ def hann(M: int, sym: bool = True) -> np.ndarray:
return general_hamming(M, 0.5, sym)
@np.deprecate(new_name='scipy.signal.windows.hann')
def hanning(*args, **kwargs):
return hann(*args, **kwargs)
def tukey(M, alpha=0.5, sym=True):
r"""Return a Tukey window, also known as a tapered cosine window.