Open carterbox opened 4 years ago
I hope numpy should have some predefined constant for the minimal float32 value greater than 0. So we can replace 1e-32 everywhere
https://numpy.org/doc/stable/reference/generated/numpy.finfo.html?highlight=finfo#numpy.finfo
https://numpy.org/doc/stable/reference/generated/numpy.finfo.html?highlight=finfo#numpy.finfo