diff --git a/pyroomacoustics/tests/tests_libroom/test_ray_energy.py b/pyroomacoustics/tests/tests_libroom/test_ray_energy.py index 440b7815..f9f18a85 100644 --- a/pyroomacoustics/tests/tests_libroom/test_ray_energy.py +++ b/pyroomacoustics/tests/tests_libroom/test_ray_energy.py @@ -157,8 +157,9 @@ def test_square_room(self): histogram_rt_poly = np.array(h_poly[0])[: len(histogram_gt)] histogram_rt_cube = np.array(h_cube[0])[: len(histogram_gt)] - self.assertTrue(np.allclose(histogram_rt_poly, histogram_gt)) - self.assertTrue(np.allclose(histogram_rt_cube, histogram_gt)) + # print(abs(histogram_rt_poly - histogram_gt).max()) + self.assertTrue(np.allclose(histogram_rt_poly, histogram_gt, atol=1e-6)) + self.assertTrue(np.allclose(histogram_rt_cube, histogram_gt, atol=1e-6)) if __name__ == "__main__":