When running the correction calculation, a pandas deprecation warning pops up.
Steps to Reproduce
No response
Relevant output
FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '-0.039908794432020646' has dtype incompatible with int64, please explicitly cast to a compatible dtype first.
optics.twiss.loc[corrector.name, corrector.strength_component] = sign * corrector.value
When using beam 2 or beam 4 and the correctors already have values in the twiss, these values are used as starting values. But due to the anti-symmetry of some orders, the value actually have the wrong sings for these orders.