stat bugfix

This commit is contained in:
Luigi Malomo 2021-11-29 10:08:58 +01:00
parent 1b2e3655ad
commit 5eb0e6cff6
1 changed files with 1 additions and 2 deletions

View File

@ -73,7 +73,6 @@ public:
explicit function that does it. This function should take a const Mesh. **/
tri::RequirePerVertexQuality(m);
std::pair<ScalarType, ScalarType> minmax = std::make_pair(std::numeric_limits<ScalarType>::max(),
std::numeric_limits<ScalarType>::lowest());
@ -102,7 +101,7 @@ public:
std::pair<ScalarType,ScalarType> minmax = std::make_pair(std::numeric_limits<ScalarType>::max(),
std::numeric_limits<ScalarType>::lowest());
ForEachTetra(m, [&minmax] (const FaceType & f) {
ForEachFace(m, [&minmax] (const FaceType & f) {
if (f.cQ() < minmax.first)
minmax.first = f.cQ();
if (f.cQ() > minmax.second)