Skip to content

Commit f9a037a

Browse files
authored
Fix regression from PR 3547 (#3560)
1 parent 0c3a33e commit f9a037a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/test/unit/io/test_xdmf_function.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ def gmsh_tet_model(order):
245245
model.mesh.setOrder(order)
246246
gmsh.option.setNumber("General.Terminal", 0)
247247

248-
msh, _, _ = gmshio.model_to_mesh(model, comm, 0)
249-
return msh
248+
mesh_data = gmshio.model_to_mesh(model, comm, 0)
249+
return mesh_data.mesh
250250

251251
def gmsh_hex_model(order):
252252
model = gmsh.model()
@@ -281,8 +281,8 @@ def gmsh_hex_model(order):
281281
model.addPhysicalGroup(3, volume_entities, tag=1)
282282
model.setPhysicalName(3, 1, "Mesh volume")
283283

284-
msh, _, _ = gmshio.model_to_mesh(gmsh.model, comm, 0)
285-
return msh
284+
mesh_data = gmshio.model_to_mesh(gmsh.model, comm, 0)
285+
return mesh_data.mesh
286286

287287
# -- Degree 1 mesh (tet)
288288
msh = gmsh_tet_model(1)

0 commit comments

Comments
 (0)