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

RuntimeWarning: invalid value encountered in arccos #38

Open
blechdavier opened this issue Jul 24, 2024 · 0 comments
Open

RuntimeWarning: invalid value encountered in arccos #38

blechdavier opened this issue Jul 24, 2024 · 0 comments

Comments

@blechdavier
Copy link

/workspaces/vgn/src/vgn/simulation.py:170: RuntimeWarning: invalid value encountered in arccos
  angle = np.arccos(np.dot(approach, np.r_[0.0, 0.0, -1.0]))

I got this error while executing generate_data.py and it might be caused by numerical imprecision. Adding a min and a max could solve this.

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

No branches or pull requests

1 participant