Skip to content

Commit

Permalink
API fixes related to dolfinx.fem.FiniteElement (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd authored Dec 10, 2024
1 parent 1a448b7 commit 6ccaa14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def _write_function(mesh, el, f, dtype, name="uh", append: bool = False) -> str:
uh.interpolate(f)
uh.name = name
el_hash = (
V.element.signature()
.replace(" ", "")
V.element.signature.replace(" ", "")
.replace(",", "")
.replace("(", "")
.replace(")", "")
Expand Down Expand Up @@ -98,8 +97,7 @@ def _write_function_time_dep(mesh, el, f0, f1, t0, t1, dtype) -> str:
uh = dolfinx.fem.Function(V, dtype=dtype)
uh.interpolate(f0)
el_hash = (
V.element.signature()
.replace(" ", "")
V.element.signature.replace(" ", "")
.replace(",", "")
.replace("(", "")
.replace(")", "")
Expand Down
6 changes: 2 additions & 4 deletions tests/test_original_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ def write_function_original(
uh.interpolate(f)
uh.name = name
el_hash = (
V.element.signature()
.replace(" ", "")
V.element.signature.replace(" ", "")
.replace(",", "")
.replace("(", "")
.replace(")", "")
Expand Down Expand Up @@ -219,8 +218,7 @@ def write_function_vector(
uh.interpolate(f)
uh.name = name
el_hash = (
V.element.signature()
.replace(" ", "")
V.element.signature.replace(" ", "")
.replace(",", "")
.replace("(", "")
.replace(")", "")
Expand Down

0 comments on commit 6ccaa14

Please sign in to comment.