Commit 98552acf authored by Ruslan Yanbarisov's avatar Ruslan Yanbarisov

Fix in kdtree

parent 91b7243e
...@@ -147,11 +147,11 @@ namespace INMOST ...@@ -147,11 +147,11 @@ namespace INMOST
Element::adj_type & fedges = m->LowConn(faces[k]); Element::adj_type & fedges = m->LowConn(faces[k]);
for(unsigned q = 0; q < fedges.size(); ++q) for(unsigned q = 0; q < fedges.size(); ++q)
{ {
Element::adj_type & enodes = m->LowConn(fedges[k]); Element::adj_type & enodes = m->LowConn(fedges[q]);
for(unsigned l = 0; l < enodes.size(); ++l) if( !m->GetMarker(enodes[l],mrk) ) for(unsigned l = 0; l < enodes.size(); ++l) if( !m->GetPrivateMarker(enodes[l],mrk) )
{ {
nodes.push_back(enodes[l]); nodes.push_back(enodes[l]);
m->SetMarker(enodes[l],mrk); m->SetPrivateMarker(enodes[l],mrk);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment