Correct scaling factor for particle positions

This commit is contained in:
Your Name 2011-02-24 14:15:26 -05:00
parent dbec582fca
commit a969852064
2 changed files with 39 additions and 38 deletions

View file

@ -181,13 +181,6 @@ public:
int p = lookupParent(i, voids_for_zones);
if ((i % 1000) == 0) std::cout << i << std::endl;
if (p < 0)
{
if (i != 0)
std::cerr << "Warning ! Voids without parent and it is not the root !" << std::endl;
continue;
}
nodes[p].children.push_back(&nodes[i]);
nodes[i].parent = &nodes[p];
inserted++;