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
|
@ -75,7 +75,7 @@ public:
|
|||
|
||||
if (p.ID == -99 &&
|
||||
p.Pos[0] == -99 && p.Pos[1] == -99 &&
|
||||
p.Pos[2] == -99 && p.Vel[2] == -99) {
|
||||
p.Pos[2] == -99 && p.Vel[2] == -99)
|
||||
break;
|
||||
|
||||
if (preproc != 0 && !preproc->accept(p))
|
||||
|
@ -93,7 +93,6 @@ public:
|
|||
reallocArray(index, allocated, actualNumPart);
|
||||
}
|
||||
}
|
||||
}
|
||||
applyTransformations(simu);
|
||||
simu->NumPart = actualNumPart;
|
||||
simu->TotalNumPart = actualNumPart;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue