Skip to content

Commit

Permalink
Another wrapper update
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Sep 15, 2024
1 parent f3c2590 commit effa49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dolfinx/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def meshtags_from_entities(
elif isinstance(values, float):
values = np.full(entities.num_nodes, values, dtype=np.double)
values = np.asarray(values)
return MeshTags(_cpp.mesh.create_meshtags(mesh.topology, dim, entities, values))
return MeshTags(_cpp.mesh.create_meshtags(mesh.topology._cpp_object, dim, entities, values))


def create_interval(
Expand Down

0 comments on commit effa49d

Please sign in to comment.