Skip to content

Commit a900c34

Browse files
added missing raise keyword
1 parent 012621c commit a900c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkl_fft/_pydfti.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def _rc_ifft1d_impl(x, n=None, axis=-1, overwrite_arg=False):
577577
x_arr = <cnp.ndarray> cnp.PyArray_FROM_OTF(
578578
x_arr, cnp.NPY_CDOUBLE, cnp.NPY_BEHAVED)
579579
except:
580-
ValueError("First argument should be a real or a complex sequence of single or double precision")
580+
raise ValueError("First argument should be a real or a complex sequence of single or double precision")
581581
x_type = cnp.PyArray_TYPE(x_arr)
582582
in_place = 1
583583

0 commit comments

Comments
 (0)