Skip to content

Commit

Permalink
elif
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Sep 27, 2024
1 parent 17bbd26 commit 09bb7c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion symfem/elements/bubble.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ def __init__(self, reference: Reference, order: int, variant: str = "equispaced"
if reference.name in "quadrilateral":
bubble *= basis[0]
bubble *= basis[3]
if reference.name in "hexahedron":
elif reference.name in "hexahedron":
bubble *= basis[0]
bubble *= basis[7]
else:
for f in basis:
bubble *= f

print(bubble)

if reference.name in ["interval", "quadrilateral", "hexahedron"]:
o = order - 2
elif reference.name == "triangle":
Expand Down

0 comments on commit 09bb7c5

Please sign in to comment.