Skip to content

Commit

Permalink
Fix wrapper of cell_name
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Sep 15, 2024
1 parent e14f671 commit d231d36
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 @@ -82,7 +82,7 @@ def __init__(self, topology: _cpp.mesh.Topology):

def cell_name(self) -> str:
"""String representation of the cell-type of the topology"""
return self._cpp_object.cell_name
return self._cpp_object.cell_name()

def connectivity(self, d0: int, d1: int) -> _cpp.graph.AdjacencyList_int32:
"""Return connectivity from entities of dimension ``d0`` to entities of dimension ``d1``.
Expand Down

0 comments on commit d231d36

Please sign in to comment.