Skip to content

Conversation

UB909
Copy link

@UB909 UB909 commented Sep 15, 2024

Due to the division by the speed, the original code failed in case the speed was already zero (division by zero). The generated decelerationDistance_InSteps was a huge negative number (maybe - int max).

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