Fixing compilation error

This commit is contained in:
Gianpaolo Palma 2018-02-23 16:09:19 +01:00
parent 926020d508
commit dbd47ab70b
2 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,6 @@
#include <vcg/space/index/kdtree/kdtree.h>
namespace vcg
{
@ -94,7 +93,7 @@ class OutlierRemoval
dem += 0.230389 * value * value;
dem += 0.000972 * value * value * value;
dem += 0.078108 * value * value * value * value;
ScalarType op = max(0.0, 1.0 - 1.0 / dem);
ScalarType op = std::max(0.0, 1.0 - 1.0 / dem);
outlierScore[i] = op;
}

View File

@ -73,7 +73,7 @@ namespace vcg {
{
targetCellSize = maxObjPerCell;
targetMaxDepth = maxDepth;
Set(mesh, maxObjPerCell, maxDepth);
Set(mesh.face.begin(), mesh.face.end(), mesh.face.size(), onlySelection);
};
~KdTreeFace()