From 104b0d7e65498ed9ceaea96716e2d57942d5605d Mon Sep 17 00:00:00 2001 From: Laurent Farvacque Date: Mon, 19 Dec 2022 17:48:05 +0100 Subject: [PATCH] relax chromaticity test --- pyat/test/test_linopt6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyat/test/test_linopt6.py b/pyat/test/test_linopt6.py index e03b15032..3dd411dbd 100644 --- a/pyat/test/test_linopt6.py +++ b/pyat/test/test_linopt6.py @@ -12,7 +12,7 @@ def test_linopt6_norad(lattice): ld02, rd2, ld2 = linopt2(lattice, refpts, get_w=True) ld06, rd6, ld6 = linopt6(lattice, refpts, get_w=True) assert_close(rd2.tune, rd6.tune, atol=1e-12, rtol=0) - assert_close(rd2.chromaticity, rd6.chromaticity, atol=1e-12, rtol=0) + assert_close(rd2.chromaticity, rd6.chromaticity, atol=5e-11, rtol=0) for field in ['s_pos', 'closed_orbit', 'dispersion', 'alpha', 'beta', 'mu']: