mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Fixed zone lookup in jozov2
This commit is contained in:
parent
33b32ea43d
commit
d0901e6d95
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ void buildZones(PARTICLE *p, pid_t np, pid_t *&jumped,
|
|||
delete[] numinh;
|
||||
|
||||
for (pid_t i=0; i < np; i++) {
|
||||
int h = zonenum[i];
|
||||
int h = zonenum[jumped[i]];
|
||||
z[h].vol += 1.0/(double)p[i].dens;
|
||||
z[h].numzones = 0;
|
||||
z[h].zonelist = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue