File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ def _check_norm(norm):
4343 )
4444
4545
46- def _check_shapes_for_direct (xs , shape , axes , check_complimentary = False ):
46+ def _check_shapes_for_direct (xs , shape , axes , check_complementary = False ):
4747 if len (axes ) > 7 : # Intel MKL supports up to 7D
4848 return False
49- if not (len (xs ) == len (shape )) and not check_complimentary :
49+ if not (len (xs ) == len (shape )) and not check_complementary :
5050 # full-dimensional transform is required for direct,
5151 # but less than full is OK for complimentary.
5252 return False
@@ -397,7 +397,7 @@ def _c2c_fftnd_impl(
397397 # See if s matches the shape of x along the given axes.
398398 # If it does, we can use _iter_complementary rather than _iter_fftnd.
399399 if _check_shapes_for_direct (
400- xs , x .shape , xa , check_complimentary = True
400+ xs , x .shape , xa , check_complementary = True
401401 ):
402402 _complementary = True
403403 _direct = _direct and x .dtype in valid_dtypes
You can’t perform that action at this time.
0 commit comments