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

snake.py crashes in certain cases #15

Open
MeenakshiMcNamara opened this issue Dec 29, 2020 — with Slack · 0 comments
Open

snake.py crashes in certain cases #15

MeenakshiMcNamara opened this issue Dec 29, 2020 — with Slack · 0 comments
Labels
bug Something isn't working

Comments

Copy link

It was discovered that there is a domain error for the arcos function on line 78 of the snake.py file in certain cases. The theory is that this comes from a rounding error when rotating the head_vector, so adding .unit() will hopefully fix the error.

@MeenakshiMcNamara MeenakshiMcNamara added the bug Something isn't working label Dec 29, 2020 — with Slack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant