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

Capped the costs to 255 so that no UInt8 Overflow occurs #930

Open
wants to merge 1 commit into
base: melodic-devel
Choose a base branch
from
Open

Capped the costs to 255 so that no UInt8 Overflow occurs #930

wants to merge 1 commit into from

Conversation

trickarcher
Copy link

This pull request fixes the Issue #784 . Added an additional variable of uint8_t which caps the cost to 255 to prevent any numeric overflow,

@trickarcher trickarcher changed the title Capped the costs to 255 so that no UInt8 Overflow occurs #784 Capped the costs to 255 so that no UInt8 Overflow occurs Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants