Skip to content
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

Change literals to convert degrees into radians #8

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

MichaelKutzner
Copy link
Contributor

This change removes the _rad literal and uses _deg for degrees to radians conversion.
As all calculations use radians, a literal for radians to degrees conversion is probably hardly useful. Instead _rad might later be used to create radians, which are no longer raw double values.

Using radian for all calculations, only degrees to radians conversion
is needed.
@felixguendling
Copy link
Member

_deg and _rad should both be removed

@MichaelKutzner
Copy link
Contributor Author

I'll update it.

@felixguendling felixguendling merged commit 3364402 into motis-project:master Aug 27, 2024
6 of 8 checks passed
@MichaelKutzner MichaelKutzner deleted the suffix-change branch August 27, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants