Comment Comment by fouronnes3 You should use two tolerances: absolute and relative. See for example numpy.allclose()https://numpy.org/doc/stable/reference/generated/numpy.allcl... parent fouronnes3 6 months ago
https://numpy.org/doc/stable/reference/generated/numpy.allcl...