Improve tests

This commit is contained in:
bgbsww
2024-01-19 10:49:47 -05:00
parent 874d421fa8
commit ab3bb9fb71
2 changed files with 94 additions and 89 deletions

View File

@@ -376,6 +376,8 @@ void TopoShape::mapSubElementTypeForShape(const TopoShape& other,
}
std::ostringstream ss;
char elementType {shapeName(type)[0]};
if ( ! elementMap() )
FC_THROWM(NullShapeException, "No element map");
elementMap()->encodeElementName(elementType, name, ss, &sids, Tag, op, other.Tag);
elementMap()->setElementName(element, name, Tag, &sids);
}