Skip to content

Commit

Permalink
Fix cavity __repr__ printing volate for phase
Browse files Browse the repository at this point in the history
  • Loading branch information
jank324 committed Feb 2, 2024
1 parent d9ddf03 commit 502a22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheetah/accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ def __repr__(self) -> str:
return (
f"{self.__class__.__name__}(length={repr(self.length)}, "
+ f"voltage={repr(self.voltage)}, "
+ f"phase={repr(self.voltage)}, "
+ f"phase={repr(self.phase)}, "
+ f"frequency={repr(self.frequency)}, "
+ f"name={repr(self.name)})"
)
Expand Down

0 comments on commit 502a22d

Please sign in to comment.