diff --git a/src/TpetraLinearSystem.C b/src/TpetraLinearSystem.C index bfa43ba56..62efed9ff 100644 --- a/src/TpetraLinearSystem.C +++ b/src/TpetraLinearSystem.C @@ -1979,7 +1979,10 @@ TpetraLinearSystem::checkForZeroRow(bool useOwned, bool doThrow, bool doPrint) stk::mesh::EntityId nid = (gid - 1) / numDof_ + 1; stk::mesh::Entity node = bulkData.get_entity(stk::topology::NODE_RANK, nid); - const stk::mesh::EntityId naluGlobalId = bulkData.is_valid(node) ? *stk::mesh::field_data(*realm_.naluGlobalId_, node) : -1; + const stk::mesh::EntityId naluGlobalId = + bulkData.is_valid(node) + ? *stk::mesh::field_data(*realm_.naluGlobalId_, node) + : -1; int idof = (gid - 1) % numDof_; GlobalOrdinal GID_check = GID_(nid, numDof_, idof); diff --git a/src/TpetraSegregatedLinearSystem.C b/src/TpetraSegregatedLinearSystem.C index f41ad1ef8..0e3bf7b93 100644 --- a/src/TpetraSegregatedLinearSystem.C +++ b/src/TpetraSegregatedLinearSystem.C @@ -1763,7 +1763,10 @@ TpetraSegregatedLinearSystem::checkForZeroRow( stk::mesh::EntityId nid = static_cast(gid); stk::mesh::Entity node = bulkData.get_entity(stk::topology::NODE_RANK, nid); - const stk::mesh::EntityId naluGlobalId = bulkData.is_valid(node) ? *stk::mesh::field_data(*realm_.naluGlobalId_, node) : -1; + const stk::mesh::EntityId naluGlobalId = + bulkData.is_valid(node) + ? *stk::mesh::field_data(*realm_.naluGlobalId_, node) + : -1; if (doPrint) {