Skip to content

Conversation

nikoladze
Copy link

I believe i found a bug in the angle_to_sexigesimal function in the buggy_function module. The angles seem to come out doubled. For 360 degrees i would expect 24 hours, but the function currently gives 48 hours. I added a test for this case and fixed the function by dividing by 360 degrees instead of 180.

Copy link

@fontanj fontanj left a comment

Choose a reason for hiding this comment

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

Cool. But is it really "sexigesimal" format if we have "hours, minutes, seconds?" or should it be "degrees, minutes, seconds"?

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