Skip to content

Commit 5ab3cc2

Browse files
committed
small update
1 parent 84e75e3 commit 5ab3cc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

thetis/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ def get_sipg_ratio(nu):
12581258
fs = FunctionSpace(fs.mesh(), ufl.FiniteElement(el.family(), el.cell(), el.degree, variant='equispaced'))
12591259
tmp = Function(fs).interpolate(nu)
12601260
else:
1261-
tmp = nu.copy()
1261+
tmp = nu.copy(deepcopy = True)
12621262
P0 = FunctionSpace(fs.mesh(), "DG", 0)
12631263
nu_max = Function(P0)
12641264
nu_min = Function(P0)

0 commit comments

Comments
 (0)