harmless clang warning

This commit is contained in:
Paolo Cignoni 2016-02-11 06:09:31 +00:00
parent 1c8f6100cd
commit b2203ab96a
1 changed files with 2 additions and 2 deletions

View File

@ -2317,9 +2317,9 @@ void PoissonPruningExact(MeshType &m, /// the mesh that has to be pruned
curRadius=(RangeMaxRad+RangeMinRad)/2.0f; curRadius=(RangeMaxRad+RangeMinRad)/2.0f;
PoissonPruning(m,poissonSamplesTmp,curRadius,randSeed); PoissonPruning(m,poissonSamplesTmp,curRadius,randSeed);
//qDebug("(%6.3f:%5i %6.3f:%5i) Cur Radius %f -> %i sample instead of %i",RangeMinRad,RangeMinSampleNum,RangeMaxRad,RangeMaxSampleNum,curRadius,poissonSamplesTmp.size(),sampleNum); //qDebug("(%6.3f:%5i %6.3f:%5i) Cur Radius %f -> %i sample instead of %i",RangeMinRad,RangeMinSampleNum,RangeMaxRad,RangeMaxSampleNum,curRadius,poissonSamplesTmp.size(),sampleNum);
if(poissonSamplesTmp.size() > sampleNum) if(poissonSamplesTmp.size() > size_t(sampleNum))
RangeMinRad = curRadius; RangeMinRad = curRadius;
if(poissonSamplesTmp.size() < sampleNum) if(poissonSamplesTmp.size() < size_t(sampleNum))
RangeMaxRad = curRadius; RangeMaxRad = curRadius;
} }