Skip to content
Snippets Groups Projects
Commit 250391ae authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Make slots a tuple instead of a list

parent 751e7798
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ def split_expression(expr):
class FiniteElement(ufl.FiniteElement):
__slots = ufl.FiniteElement.__slots__ + ["dirichlet_expression", "dirichlet_constraints"]
__slots = ufl.FiniteElement.__slots__ + ("dirichlet_expression", "dirichlet_constraints")
def __new__(cls, *args, **kwargs):
kwargs.pop('dirichlet_constraints', None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment