Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorBaratta committed Dec 19, 2023
1 parent 8197e3f commit f048b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/MassAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
dof_ordering=np.argsort(perm))
element = basix.ufl._BasixElement(element_tp)

coords = basix.ufl.element("Lagrange", cell_type, 1, shape=(3, ))
coords = basix.ufl.element(basix.ElementFamily.P, cell_type, 1, shape=(3, ))
mesh = ufl.Mesh(coords)
V = ufl.FunctionSpace(mesh, element)
x = ufl.SpatialCoordinate(mesh)
Expand Down

0 comments on commit f048b1b

Please sign in to comment.