Various updates/fixes

This commit is contained in:
Daniel Girardeau-Montaut
2019-03-25 18:45:28 +01:00
parent 4907e68ae2
commit ba1b4ac58c
11 changed files with 188 additions and 82 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ static bool ComputeMathOpWithNearestNeighbor( const CorePoints& corePoints,
ScalarType s = NAN_VALUE;
int neighborhoodSize = 0;
if (octree->findPointNeighbourhood(P, &Yk, 1, octreeLevel, maxSquareDist) >= 1)
if (octree->findPointNeighbourhood(P, &Yk, 1, octreeLevel, maxSquareDist, 0.0, &neighborhoodSize) >= 1)
{
double s1 = field1.pointValue(corePoints.originIndex(i));
double s2 = field2.pointValue(Yk.getPointGlobalIndex(0));