joshspeagle / brutus

Modeling stellar photometry with "brute force" methods
MIT License
32 stars 5 forks source link

value error in per-star fits #30

Closed catherinezucker closed 5 years ago

catherinezucker commented 5 years ago

A value error is raised at ~ line 1298 in fitting.py due to an update to numpy that now flags when an array containing a nan is sent to np.random.choice

joshspeagle commented 5 years ago

Looking in detail at the code, this actually should cause everything to break. The problem for this must be further upstream, so if we can track it down I can institute safety checks there.