Skip to content

Commit 1f4acc3

Browse files
committed
spelling
1 parent 6e9afd6 commit 1f4acc3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mkl_fft/_fft_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)