From 89a0bf2b722cb21af9835c685969d34e753b1967 Mon Sep 17 00:00:00 2001 From: giadarol Date: Fri, 21 Oct 2022 13:28:04 +0200 Subject: [PATCH] Fix for GPU --- tests/test_beambeam3d.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_beambeam3d.py b/tests/test_beambeam3d.py index dfcd57b1..f90df4a5 100644 --- a/tests/test_beambeam3d.py +++ b/tests/test_beambeam3d.py @@ -621,6 +621,7 @@ def test_beambeam3d_old_interface(): part_before_tracking = part.copy() part.move(_context=context) bb.track(part) + part.move(_context=xo.ContextCpu()) for cc in 'x px y py zeta delta'.split(): val_test = getattr(part, cc)[0]