Salome HOME
projects
/
tools
/
medcoupling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0868d7
)
Fix warning due to 999b10494c931d01a
author
Anthony Geay
<anthony.geay@edf.fr>
Wed, 3 Mar 2021 08:08:24 +0000
(09:08 +0100)
committer
Anthony Geay
<anthony.geay@edf.fr>
Wed, 3 Mar 2021 08:08:24 +0000
(09:08 +0100)
src/MEDCoupling/MEDCouplingUMesh.cxx
patch
|
blob
|
history
diff --git
a/src/MEDCoupling/MEDCouplingUMesh.cxx
b/src/MEDCoupling/MEDCouplingUMesh.cxx
index a5a17f58c3ae422ad26d1910fe66691b5a68f051..3f885cd438f42416d740936f6ae51fac29acd3b8 100755
(executable)
--- 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<mcIdType> 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());