From bb4ea6dc10c04be6b6f744ffeee89664ba5f932c Mon Sep 17 00:00:00 2001 From: Ian Czekala Date: Wed, 13 Dec 2023 13:09:38 +0000 Subject: [PATCH] slightly increased tolerance because of default switch from sparse_atrices to table-based for nufft. --- test/fourier_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fourier_test.py b/test/fourier_test.py index 8050ad1a..39cb1fbb 100644 --- a/test/fourier_test.py +++ b/test/fourier_test.py @@ -291,8 +291,8 @@ def test_nufft_accuracy_single_chan(coords, mock_visibility_data_cont, tmp_path) fig.suptitle("NuFFT Accuracy compared to analytic") fig.savefig(tmp_path / "nufft_comparison.png", dpi=300) - # should be < 2e-8, based on plot - assert num_output == approx(an_output, abs=2e-8) + # should be < 2.5e-6, based on plot + assert num_output == approx(an_output, abs=2.5e-6) def test_nufft_cached_accuracy_single_chan(coords, mock_visibility_data_cont, tmp_path):