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

SIGSEGV: Negative indices #30

Open
grimmmyshini opened this issue Feb 7, 2020 · 0 comments · May be fixed by #31
Open

SIGSEGV: Negative indices #30

grimmmyshini opened this issue Feb 7, 2020 · 0 comments · May be fixed by #31

Comments

@grimmmyshini
Copy link

The code often breaks out into Segmentation Faults when used with dynamic maps as the co-ordinates x and y may be negative; and when used while setting indices, they result in a negative value. This in turn causes segmentation faults.

A possible solution is to transform the x and y co-ordinates from World to Map before setting indices.

@grimmmyshini grimmmyshini linked a pull request Feb 8, 2020 that will close this issue
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 a pull request may close this issue.

1 participant