Open yuxi-liu-wired opened 1 month ago
https://github.com/flrs/blend_modes/blob/master/blend_modes/blending_functions.py#L69
should be changed to
ratio[ratio == np.nan] = 0.0
Dear @yuxi-liu-wired , thank you for your kind bug report. As I do not have resources to fix this right now, I would kindly invite you to do a pull request with the change, if you are interested. Thanks a lot!
https://github.com/flrs/blend_modes/blob/master/blend_modes/blending_functions.py#L69
should be changed to