Skip to content

Commit

Permalink
Update meshtags calling
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Sep 15, 2024
1 parent d231d36 commit 5997f30
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 @@ -687,7 +687,7 @@ def meshtags(
else:
raise NotImplementedError(f"Type {values.dtype} not supported.")

return MeshTags(ftype(mesh.topology, dim, np.asarray(entities, dtype=np.int32), values))
return MeshTags(ftype(mesh.topology._cpp_object, dim, np.asarray(entities, dtype=np.int32), values))


def meshtags_from_entities(
Expand Down

0 comments on commit 5997f30

Please sign in to comment.