flaresimulations / synthesizer

Synthesizer - a code for creating synthetic astrophysical observables
https://flaresimulations.github.io/synthesizer/
GNU General Public License v3.0
17 stars 9 forks source link

BUGFIX: `Stars.generate_particle_line` didn't handle entirely masked out arrays properly #707

Closed WillJRoper closed 3 months ago

WillJRoper commented 3 months ago

Instead of returning a Line containing arrays of zeros when all particles were masked out Stars.generate_particle_line returned a Line containing single zeros. This caused havoc downstream in the event this is ever triggered. Entertainingly this had already been addressed for black holes.

Issue Type

Checklist