Skip to content

Commit

Permalink
Fix in GPU test
Browse files Browse the repository at this point in the history
  • Loading branch information
giadarol committed Nov 7, 2023
1 parent f3afba5 commit 168783d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def test_backtrack_with_flag(test_context):
)
@pytest.mark.parametrize('collective', [True, False], ids=['collective', 'non-collective'])
def test_tracking_with_progress(test_context, with_progress, turns, collective):
elements = [xt.Drift(length=2.) for _ in range(5)]
elements = [xt.Drift(length=2, _context=test_context) for _ in range(5)]
elements[3].iscollective = collective
line = xt.Line(elements=elements)
line.reset_s_at_end_turn = False
Expand Down

0 comments on commit 168783d

Please sign in to comment.