Originally reported byZachary Hafen (Bitbucket: zhafen, GitHub: zhafen)
In IDSampler.identify_duplicate_ids() we find the intersection of all particle types to avoid selecting duplicates where one is a star and one is gas particle. However, when we select only one particle type to track this backfires and we instead find the intersection of one set with itself and count those as duplicates. This ends up in not selecting any particles.
Originally reported by Zachary Hafen (Bitbucket: zhafen, GitHub: zhafen)
In
IDSampler.identify_duplicate_ids()
we find the intersection of all particle types to avoid selecting duplicates where one is a star and one is gas particle. However, when we select only one particle type to track this backfires and we instead find the intersection of one set with itself and count those as duplicates. This ends up in not selecting any particles.