Skip to content

Commit 04fa4de

Browse files
committed
Fix hyperpplanes typo
1 parent a49d456 commit 04fa4de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sumpy/expansion/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def copy(self, **kwargs):
311311

312312
# {{{ hyperplane helpers
313313

314-
def _get_mi_hyperpplanes(self) -> list[tuple[int, int]]:
314+
def _get_mi_hyperplanes(self) -> list[tuple[int, int]]:
315315
r"""
316316
Coefficient storage is organized into "hyperplanes" in multi-index
317317
space. Potentially only a subset of these hyperplanes contain
@@ -357,7 +357,7 @@ def _split_coeffs_into_hyperplanes(
357357
(2, [(0, 0, 1), (1, 0, 1), (2, 0, 1), (0, 1, 1), (1, 1, 1), (0, 2, 1)]),
358358
]
359359
"""
360-
hyperplanes = self._get_mi_hyperpplanes()
360+
hyperplanes = self._get_mi_hyperplanes()
361361
res = []
362362
seen_mis = set()
363363
for d, const in hyperplanes:
@@ -608,7 +608,7 @@ def mi_key(ident):
608608
return mi_key, axis_permutation
609609

610610
@override
611-
def _get_mi_hyperpplanes(self) -> list[tuple[int, int]]:
611+
def _get_mi_hyperplanes(self) -> list[tuple[int, int]]:
612612
mis = self.get_full_coefficient_identifiers()
613613
mi_to_index = {mi: i for i, mi in enumerate(mis)}
614614

@@ -618,7 +618,7 @@ def _get_mi_hyperpplanes(self) -> list[tuple[int, int]]:
618618
if not all(ident.mi in mi_to_index for ident in deriv_id_to_coeff):
619619
# The order of the expansion is less than the order of the PDE.
620620
# Treat as if full expansion.
621-
hyperplanes = super()._get_mi_hyperpplanes()
621+
hyperplanes = super()._get_mi_hyperplanes()
622622
else:
623623
# Calculate the multi-index that appears last in in the PDE in
624624
# the degree lexicographic order given by

0 commit comments

Comments
 (0)