Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pierricmora authored Sep 24, 2024
1 parent 4e8ad33 commit 815ee7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dolfinx/io/gmshio.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def model_to_mesh(
_elementTypes, _elementTags, _nodeTags = model.mesh.getElements(dim=_d, tag=-1)
# assert only one type of elements
# assert len(_elementTypes) == 1 # NOTE: already checked in extract_topology_and_markers
_elementType_dim = _elementType[0]
_elementType_dim = _elementTypes[0]
if _elementType_dim not in topologies.keys():
raise RuntimeError("All cells are expected to be tagged once; none found")
nbcells = len(_elementTags[0])
Expand Down

0 comments on commit 815ee7f

Please sign in to comment.