Skip to content

Commit

Permalink
Typo in ThickKick class in py/orbit/py_linac/lattice/LinacAccNodes.py
Browse files Browse the repository at this point in the history
Initialization of the By parameter should be 0 field. It was [] empty list.
  • Loading branch information
shishlo authored Dec 18, 2024
1 parent 59921b3 commit b1f3736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/orbit/py_linac/lattice/LinacAccNodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def __init__(self, name="thick_kick"):
"""
LinacMagnetNode.__init__(self, name)
self.addParam("Bx", 0.0)
self.addParam("By", [])
self.addParam("By", 0.0)
self.setnParts(1)
self.setType("thickKick")

Expand Down

0 comments on commit b1f3736

Please sign in to comment.