File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
- import numpy as np
2
1
import numpy .typing as npt
3
2
from numpy ._typing import _ArrayLikeNumber_co
4
3
from scipy ._typing import DCTType , NormalizationMode , Untyped
@@ -60,7 +59,7 @@ def dct(
60
59
def idct (
61
60
x : Untyped ,
62
61
type : DCTType = 2 ,
63
- n : Untyped | None = None ,
62
+ n : int | None = None ,
64
63
axis : int = - 1 ,
65
64
norm : NormalizationMode | None = None ,
66
65
overwrite_x : bool = False ,
@@ -70,7 +69,7 @@ def idct(
70
69
def dst (
71
70
x : Untyped ,
72
71
type : DCTType = 2 ,
73
- n : Untyped | None = None ,
72
+ n : int | None = None ,
74
73
axis : int = - 1 ,
75
74
norm : NormalizationMode | None = None ,
76
75
overwrite_x : bool = False ,
@@ -80,7 +79,7 @@ def dst(
80
79
def idst (
81
80
x : Untyped ,
82
81
type : DCTType = 2 ,
83
- n : Untyped | None = None ,
82
+ n : int | None = None ,
84
83
axis : int = - 1 ,
85
84
norm : NormalizationMode | None = None ,
86
85
overwrite_x : bool = False ,
You can’t perform that action at this time.
0 commit comments