mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Fixed duplicated name error in generateFromCatalog. Fixed numPart setup from the exact number of accepted particles
This commit is contained in:
parent
5b8a97d170
commit
393b6e756e
2 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ void SimulationLoader::basicPreprocessing(SimuData *d,
|
|||
}
|
||||
filteredCopy(d->Id, accepted, d->NumPart);
|
||||
filteredCopy(d->type, accepted, d->NumPart);
|
||||
d->NumPart = accepted;
|
||||
d->NumPart = numAccepted;
|
||||
delete[] accepted;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue