Skip to content

[CLEANUP] Autoformat the code#2190

Merged
AnReiter merged 1 commit intomainfrom
cleanup/autoformat
Mar 2, 2026
Merged

[CLEANUP] Autoformat the code#2190
AnReiter merged 1 commit intomainfrom
cleanup/autoformat

Conversation

@oliverklee
Copy link
Collaborator

No description provided.

@oliverklee oliverklee requested a review from AnReiter February 27, 2026 19:17
@oliverklee oliverklee self-assigned this Feb 27, 2026
return \acos(
\sin($latitude1) * \sin($latitude2)
+ \cos($latitude1) * \cos($latitude2) * \cos($longitude2 - $longitude1),
+ \cos($latitude1) * \cos($latitude2) * \cos($longitude2 - $longitude1),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comma at the end, isnt it unneccesary? i looked it up (cause looks strange), correct would be
\sin($latitude1) * \sin($latitude2) +
and under it direct the \cos

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is indeed. Fixed.

@oliverklee oliverklee force-pushed the cleanup/autoformat branch from 13c8959 to b598a16 Compare March 2, 2026 18:28
@oliverklee oliverklee requested a review from AnReiter March 2, 2026 18:28
@AnReiter AnReiter merged commit a4d871d into main Mar 2, 2026
32 checks passed
@AnReiter AnReiter deleted the cleanup/autoformat branch March 2, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants