pelahi / VELOCIraptor-STF

Galaxy/(sub)Halo finder for N-body simulations
MIT License
19 stars 26 forks source link

Bug Fix to ID sort in substructure search #97

Closed rhyspoulton closed 4 years ago

rhyspoulton commented 4 years ago

The particle's index was being stored in it's type data before being sorted to preserve the order. But the particle's type data is changed, leading to the incorrect order when sorting for the original order.

This has been fixed by creating another array to store the index.