According to the NumPy docs for npt.assert_almost_equal:
It is recommended to use one of assert_allclose, assert_array_almost_equal_nulp or assert_array_max_ulp instead of this function for more consistent floating point comparisons.
Perhaps, we should migrate our tests accordingly?
To Do List
According to the NumPy docs for
npt.assert_almost_equal:Perhaps, we should migrate our tests accordingly?
To Do List
1.5*10**-config.STUMPY_TEST_PRECISIONwithconfig.STUMPY_TEST_PRECISION = 1.5e-07(inconfig.py)compwithcmpref_and stumpy-computed outputs tocmp_(applies tonpt.assert_array_equaltoo)