atcollab / at

Accelerator Toolbox
Apache License 2.0
48 stars 31 forks source link

Correct the attribute name of solenoids in Matlab #663

Closed lfarv closed 9 months ago

lfarv commented 10 months ago

Fixes #660 reported by @simoneliuzzo: the strength of a solenoid should be K instead of KS. In atsolenoid, the strength may be inout either in the 3rd positional argument (no problem), but also as keyword KS. This is kept for compatibility, and the correct K keyword is added: any can be used.