Skip to content
Snippets Groups Projects
Commit fe063632 authored by Gamelin Alexis's avatar Gamelin Alexis
Browse files

Bugfix : current setting was wrong in Beam

parent a44dbbf1
No related branches found
No related tags found
No related merge requests found
...@@ -546,7 +546,7 @@ class Beam: ...@@ -546,7 +546,7 @@ class Beam:
for current in filling_pattern: for current in filling_pattern:
if current != 0: if current != 0:
bunch_list.append(Bunch(self.ring, mp_per_bunch, bunch_list.append(Bunch(self.ring, mp_per_bunch,
current_per_bunch, track_alive)) current, track_alive))
elif current == 0: elif current == 0:
bunch_list.append(Bunch(self.ring, alive=False)) bunch_list.append(Bunch(self.ring, alive=False))
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment