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

use zeros_like in scene setup gpu to avoid nan #400

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

hzaskywalker
Copy link
Contributor

Here, px.cuda_rigid_body_data.torch() may contain NAN in certain cases. Just multiplying 0 won't eliminate the nan and it is better to set it to zero explicitly.

@StoneT2000 StoneT2000 merged commit ed12d94 into main Jul 1, 2024
@StoneT2000 StoneT2000 deleted the fix-setup-gpu-vel-zero-nan branch July 11, 2024 04:13
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 this pull request may close these issues.

2 participants