glenco / lensed

forward reconstruction of lenses and sources from strong lensing observations
http://glenco.github.io/lensed/
MIT License
5 stars 3 forks source link

fix warning for zero weights (i.e. masked pixels) #225

Closed ntessore closed 8 years ago

ntessore commented 8 years ago

The check from #224 for invalid weights will also complain about masked pixels, which have zero weight. This was fixed in this PR.