Skip to content

Commit

Permalink
Make tested Quad actually inactive
Browse files Browse the repository at this point in the history
  • Loading branch information
Hespe committed Sep 25, 2024
1 parent b4477dd commit c5ce46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_speed_optimizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def test_inactive_magnet_drift_except_for():
elements=[
cheetah.Drift(length=torch.tensor([0.6])),
cheetah.Quadrupole(
length=torch.tensor([0.2]), k1=torch.tensor([4.2]), name="quad"
length=torch.tensor([0.2]), k1=torch.tensor([0.0]), name="quad"
),
cheetah.Drift(length=torch.tensor([0.4])),
]
Expand Down

0 comments on commit c5ce46f

Please sign in to comment.