Skip to content

Commit

Permalink
Update CHANGELOG.md;
Browse files Browse the repository at this point in the history
Black formatting
  • Loading branch information
cr-xu committed Feb 5, 2024
1 parent 255a3d0 commit 9910c47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- Add _Acknowledgements_ section to README (see #103) (@jank324)
- `benchmark` directory was moved to `desy-ml/cheetah-demos` repository (see #108) (@jank324)
- Update citations to new arXiv preprint (see #117) (@jank324)
- Improve the docstring with proper units for the phase space dimensions (see #122) (@cr-xu)

## [v0.6.1](https://github.com/desy-ml/cheetah/releases/tag/v0.6.1) (2023-09-17)

Expand Down
4 changes: 2 additions & 2 deletions cheetah/accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
rest_energy = torch.tensor(
constants.electron_mass
* constants.speed_of_light**2
/ constants.elementary_charge
) # electron mass
/ constants.elementary_charge # electron mass
)
electron_mass_eV = torch.tensor(
physical_constants["electron mass energy equivalent in MeV"][0] * 1e6
)
Expand Down

0 comments on commit 9910c47

Please sign in to comment.