Skip to content

Commit e25b26c

Browse files
committed
Fix hyperpplanes typo
1 parent 65b292f commit e25b26c

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
@@ -313,7 +313,7 @@ def copy(self, **kwargs):
313313

314314
# {{{ hyperplane helpers
315315

316-
def _get_mi_hyperpplanes(self) -> list[tuple[int, int]]:
316+
def _get_mi_hyperplanes(self) -> list[tuple[int, int]]:
317317
r"""
318318
Coefficient storage is organized into "hyperplanes" in multi-index
319319
space. Potentially only a subset of these hyperplanes contain
@@ -359,7 +359,7 @@ def _split_coeffs_into_hyperplanes(
359359
(2, [(0, 0, 1), (1, 0, 1), (2, 0, 1), (0, 1, 1), (1, 1, 1), (0, 2, 1)]),
360360
]
361361
"""
362-
hyperplanes = self._get_mi_hyperpplanes()
362+
hyperplanes = self._get_mi_hyperplanes()
363363
res = []
364364
seen_mis = set()
365365
for d, const in hyperplanes:
@@ -610,7 +610,7 @@ def mi_key(ident):
610610
return mi_key, axis_permutation
611611

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

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

0 commit comments

Comments
 (0)