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
Bug
Checklist
[x] I have read the [CONTRIBUTING.md]() -->
[x] I have added docstrings to all methods
[x] I have added sufficient comments to all lines
[x] I have made corresponding changes to the documentation
[x] My changes generate no pep8 errors
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Instead of returning a
Line
containing arrays of zeros when all particles were masked outStars.generate_particle_line
returned aLine
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