Skip to content

Commit

Permalink
Control flow is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
danshapero committed Jun 30, 2023
1 parent 1b60620 commit 5734495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/lbb-stability/lbb-stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def run(*, dimension, num_cells, element, num_layers=None, vdegree=None):
velocity_element = cg_2 + b_3
pressure_element = firedrake.FiniteElement("DG", "triangle", 1)

elif dimension == 3:
if dimension == 3:
cg_z = firedrake.FiniteElement("CG", "interval", vdegree)
dg_z = firedrake.FiniteElement("DG", "interval", vdegree - 1)
velocity_element = firedrake.TensorProductElement(velocity_element, cg_z)
Expand Down

0 comments on commit 5734495

Please sign in to comment.