Skip to content

Commit

Permalink
tests: Update test_spectral.pyi to use the correct dtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavyamsiri committed Nov 4, 2024
1 parent 3bb8780 commit fb5c85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/signal/test_spectral.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import optype.numpy as onpt
from scipy.signal import istft, spectrogram

_Array_f8: TypeAlias = npt.NDArray[np.float64]
_ArrayFloat: TypeAlias = npt.NDArray[np.float32 | np.float64 | np.float128]
_ArrayComplex: TypeAlias = npt.NDArray[np.complex64 | np.complex128 | np.complex256]
_ArrayFloat: TypeAlias = npt.NDArray[np.float32 | np.float64 | np.longdouble]
_ArrayComplex: TypeAlias = npt.NDArray[np.complex64 | np.complex128 | np.clongdouble]

array_f8_1d: onpt.Array[tuple[Literal[256]], np.float64]
array_c16_1d: onpt.Array[tuple[Literal[256]], np.complex128]
Expand Down

0 comments on commit fb5c85d

Please sign in to comment.