From 7bdb513101a5ecd2160a170cc7ae68a5c616d08b Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 3 Mar 2021 09:08:24 +0100 Subject: [PATCH] Fix warning due to 999b10494c931d01a --- src/MEDCoupling/MEDCouplingUMesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDCoupling/MEDCouplingUMesh.cxx b/src/MEDCoupling/MEDCouplingUMesh.cxx index a5a17f58c..3f885cd43 100755 --- a/src/MEDCoupling/MEDCouplingUMesh.cxx +++ b/src/MEDCoupling/MEDCouplingUMesh.cxx @@ -304,7 +304,7 @@ void MEDCouplingUMesh::checkGeomConsistency(double eps) const for(auto icell = 0 ; icell < nbOfCells ; ++icell) { std::set s(ptr+ptrI[icell]+1,ptr+ptrI[icell+1]); - if(s.size()==ptrI[icell+1]-ptrI[icell]-1) + if(ToIdType(s.size())==ptrI[icell+1]-ptrI[icell]-1) continue; std::ostringstream oss; oss << "MEDCouplingUMesh::checkGeomConsistency : for cell #" << icell << " presence of multiple same nodeID !"; throw INTERP_KERNEL::Exception(oss.str()); -- 2.39.2