Open jonlym opened 2 years ago
Many floating point unit tests use numpy's assert_almost_equal. However, this sometimes incorrectly passes for very small numbers. Instead, we should use assert_allclose instead.
assert_almost_equal
assert_allclose
Many floating point unit tests use numpy's
assert_almost_equal
. However, this sometimes incorrectly passes for very small numbers. Instead, we should useassert_allclose
instead.