mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
Fix BTree::GetIntersecting()
This commit is contained in:
parent
d1705be7a6
commit
a6d07ed7e4
@ -132,11 +132,12 @@ 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;
|
||||
pis.Append (leaf->index[i]);
|
||||
intersect = false;
|
||||
if(intersect)
|
||||
pis.Append (leaf->index[i]);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user