-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up magic numbers #9
Comments
php1ic
added a commit
that referenced
this issue
Jun 18, 2019
- Run clang-format on files that look to have not had it run. - Make things const if they don't change. - Give more magic numbers descriptive variable names (#9).
This looks to be done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not particle magic number (i.e. 2,8,20 etc)
There are a lot of magic numbers scattered throughout the code, mainly due to the formatting of the data files, e.g position of the mass-excess value in the NUBASE, or the header size for AME.
Look into either refactoring them into a single header (or enum?) or individually per file/mass database.
The text was updated successfully, but these errors were encountered: