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

Pinball domain can violate its statespace_limits #8

Open
amarack opened this issue Aug 14, 2015 · 0 comments
Open

Pinball domain can violate its statespace_limits #8

amarack opened this issue Aug 14, 2015 · 0 comments
Labels

Comments

@amarack
Copy link
Contributor

amarack commented Aug 14, 2015

This should be easy to fix, but I just ran into it. In Pinball the ball dx/dy variable can leave the limits defined in statespace_limits due to collisions and the fact that in one location the value is not being clipped. Specifically, lines 451 and 452 in Pinball.py need to be wrapped in a call to self.ball._clip.

@amarack amarack added the bug label Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant