From d753fa5437567c49e779a009f0afa8b4de1a3490 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Tue, 26 Feb 2019 10:25:08 +0100 Subject: [PATCH] Fix a few warnings --- src/mesh/GmshReader.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mesh/GmshReader.cpp b/src/mesh/GmshReader.cpp index a1a4f6220..b3aa5e182 100644 --- a/src/mesh/GmshReader.cpp +++ b/src/mesh/GmshReader.cpp @@ -360,7 +360,6 @@ class MeshDispatcher const auto& face_to_cell_matrix = m_mesh.connectivity().faceToCellMatrix(); - pout() << __FILE__ << ':' << __LINE__ << ": use Min function\n"; #warning could use a better policy FaceValue<int> face_new_owner(m_mesh.connectivity()); parallel_for(m_mesh.numberOfFaces(), PASTIS_LAMBDA(const FaceId& l) { @@ -385,7 +384,6 @@ class MeshDispatcher const auto& node_to_cell_matrix = m_mesh.connectivity().nodeToCellMatrix(); - pout() << __FILE__ << ':' << __LINE__ << ": use Min function\n"; #warning could use a better policy NodeValue<int> node_new_owner(m_mesh.connectivity()); parallel_for(m_mesh.numberOfNodes(), PASTIS_LAMBDA(const NodeId& r) { @@ -1088,7 +1086,7 @@ void GmshReader::_dispatch() std::vector<FaceId> face_id_vector; - for (size_t i_face=0; i_face<face_refs.size(); ++i_face) { + for (uint32_t i_face=0; i_face<face_refs.size(); ++i_face) { const FaceId face_id{i_face}; if (face_refs[face_id] & ref_bit) { face_id_vector.push_back(face_id); -- GitLab