Skip to content

Commit 75e9ffd

Browse files
committed
fix: comparison to literal
1 parent 78564b7 commit 75e9ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkl_fft/_numpy_fft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def fft(a, n=None, axis=-1, norm=None):
203203
mkl_fft.fft,
204204
(x,),
205205
{'n':n, 'axis': axis})
206-
elif norm is "forward":
206+
elif norm == "forward":
207207
output = trycall(
208208
mkl_fft.fft,
209209
(x,),

0 commit comments

Comments
 (0)