mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Correct scaling factor for particle positions
This commit is contained in:
parent
dbec582fca
commit
a969852064
2 changed files with 39 additions and 38 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue