mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Fixed spurious braces and a SEGV in multidark loading procedure
This commit is contained in:
parent
14b52c4248
commit
99f1b3888e
2 changed files with 2 additions and 3 deletions
|
@ -240,7 +240,7 @@ void selectBox(SimuData *simu, std::vector<long>& targets, generateMock_info& ar
|
|||
(simu->Pos[j][i] > ranges[j][0]) &&
|
||||
(simu->Pos[j][i] < ranges[j][1]);
|
||||
p.Pos[j] = simu->Pos[j][i];
|
||||
p.Vel[j] = (simu->Vel != 0) ? simu->Vel[j][i] : 0;
|
||||
p.Vel[j] = (simu->Vel[j] != 0) ? simu->Vel[j][i] : 0;
|
||||
}
|
||||
p.ID = (simu->Id != 0) ? simu->Id[i] : -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue