MAD-X
MAD-X copied to clipboard
twiss energy loss does not take the gamma of the closed orbit correctly into account.
Reported by Jacqueline and Tobias.
A term (1+delta) in https://github.com/MethodicalAcceleratorDesign/MAD-X/blob/master/src/twiss.f90#L3912 appear to be missing.
Similarly to #1082