desy-ml / cheetah

Fast and differentiable particle accelerator optics simulation for reinforcement learning and optimisation applications.
https://cheetah-accelerator.readthedocs.io
GNU General Public License v3.0
27 stars 12 forks source link

Fix cavity `__repr__` printing volate for phase #121

Closed jank324 closed 5 months ago

jank324 commented 5 months ago

Description

Fixes the __repr__ bug in Cavity as found in #120.

Motivation and Context

Closes #120.

Types of changes

Checklist

Note: We are using a maximum length of 88 characters per line