Fix BTree::GetIntersecting()

This commit is contained in:
Matthias Hochsteger 2019-09-26 16:00:16 +02:00
parent d1705be7a6
commit a6d07ed7e4

View File

@ -132,10 +132,11 @@ namespace netgen
for (int d = 0; d < dim; d++)
if (p[d] > tpmax[d])
continue;
intersect = false;
for (int d = dim; d < 2*dim; d++)
if (p[d] < tpmin[d])
continue;
intersect = false;
if(intersect)
pis.Append (leaf->index[i]);
}
}