Skip to content

Commit

Permalink
Merge pull request #16 from szymonlopaciuk/fix-comparison-bug
Browse files Browse the repository at this point in the history
fix a bug in test where comparison always yielded True
  • Loading branch information
giadarol authored Nov 29, 2023
2 parents 4554409 + 6f14ee7 commit ad62acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_lhc_ion.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_lhc_ion_0_create_collider():

assert len(collider.lines.keys()) == 4

assert collider.vars['nrj'] == 7e12
assert collider.vars['nrj']._value == 7000

for line_name in collider.lines.keys():
pref = collider[line_name].particle_ref
Expand Down

0 comments on commit ad62acb

Please sign in to comment.