diff --git a/tests/test_hllhc14_b1_only.py b/tests/test_hllhc14_b1_only.py index 75766ae..486a9d5 100644 --- a/tests/test_hllhc14_b1_only.py +++ b/tests/test_hllhc14_b1_only.py @@ -105,8 +105,8 @@ def test_hllhc14_b1_only_1_install_beambeam(): assert np.isclose(tw1_b1.qx, tw0_b1.qx, atol=1e-7, rtol=0) assert np.isclose(tw1_b1.qy, tw0_b1.qy, atol=1e-7, rtol=0) - assert np.isclose(tw1_b1.dqx, tw0_b1.dqx, atol=1e-4, rtol=0) - assert np.isclose(tw1_b1.dqy, tw0_b1.dqy, atol=1e-4, rtol=0) + assert np.isclose(tw1_b1.dqx, tw0_b1.dqx, atol=1e-3, rtol=0) + assert np.isclose(tw1_b1.dqy, tw0_b1.dqy, atol=1e-3, rtol=0) for ipn in [1, 2, 3, 4, 5, 6, 7, 8]: assert np.isclose(tw1_b1['betx', f'ip{ipn}'], tw0_b1['betx', f'ip{ipn}'], rtol=1e-5, atol=0) diff --git a/tests/test_lhc_ion.py b/tests/test_lhc_ion.py index f72d1a9..c7e5eba 100644 --- a/tests/test_lhc_ion.py +++ b/tests/test_lhc_ion.py @@ -129,10 +129,10 @@ def test_lhc_ion_1_install_beambeam(): assert np.isclose(tw1_b2.qx, tw0_b2.qx, atol=1e-7, rtol=0) assert np.isclose(tw1_b2.qy, tw0_b2.qy, atol=1e-7, rtol=0) - assert np.isclose(tw1_b1.dqx, tw0_b1.dqx, atol=1e-4, rtol=0) - assert np.isclose(tw1_b1.dqy, tw0_b1.dqy, atol=1e-4, rtol=0) - assert np.isclose(tw1_b2.dqx, tw0_b2.dqx, atol=1e-4, rtol=0) - assert np.isclose(tw1_b2.dqy, tw0_b2.dqy, atol=1e-4, rtol=0) + assert np.isclose(tw1_b1.dqx, tw0_b1.dqx, atol=1e-3, rtol=0) + assert np.isclose(tw1_b1.dqy, tw0_b1.dqy, atol=1e-3, rtol=0) + assert np.isclose(tw1_b2.dqx, tw0_b2.dqx, atol=1e-3, rtol=0) + assert np.isclose(tw1_b2.dqy, tw0_b2.dqy, atol=1e-3, rtol=0) for ipn in [1, 2, 3, 4, 5, 6, 7, 8]: assert np.isclose(tw1_b1['betx', f'ip{ipn}'], tw0_b1['betx', f'ip{ipn}'], rtol=1e-5, atol=0)