Fixing compilation error
This commit is contained in:
parent
926020d508
commit
dbd47ab70b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue