Skip to content

Commit

Permalink
remove another set of brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
tommbendall committed Nov 15, 2023
1 parent 8eedb8b commit 4f9ddb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gusto/recovery/recovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def __init__(self, x_in, x_out, method='interpolate', boundary_method=None):
if self.vector_function_space:
# VectorElement has to be on the outside
# so first need to get underlying finite element
brok_elt = VectorElement(BrokenElement(rec_elt.sub_elements()[0]))
brok_elt = VectorElement(BrokenElement(rec_elt.sub_elements[0]))
else:
# Otherwise we can immediately get broken element
brok_elt = BrokenElement(rec_elt)
Expand Down

0 comments on commit 4f9ddb5

Please sign in to comment.