diff --git a/packages/seacas/libraries/ioss/src/cgns/Iocgns_Utils.C b/packages/seacas/libraries/ioss/src/cgns/Iocgns_Utils.C index 89be8733c0..2af15c79ba 100644 --- a/packages/seacas/libraries/ioss/src/cgns/Iocgns_Utils.C +++ b/packages/seacas/libraries/ioss/src/cgns/Iocgns_Utils.C @@ -428,9 +428,9 @@ namespace { size_t max_face = std::string("Face Count").length(); for (auto &eb : ebs) { const std::string &name = eb->name(); - max_name = std::max(name.length(), max_name); - size_t face_width = Ioss::Utils::number_width(boundary_faces[name].size()); - max_face = std::max(face_width, max_face); + max_name = std::max(name.length(), max_name); + size_t face_width = Ioss::Utils::number_width(boundary_faces[name].size()); + max_face = std::max(face_width, max_face); } max_name += 4; // Padding max_face += 4;