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

Add assertions to prevent infinite loop in least_pot_bound in case of negative snode size #567

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

xumingkuan
Copy link
Contributor

Test case:

import taichi as ti
ti.root.dense(ti.i, -1)

Copy link
Member

@yuanming-hu yuanming-hu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Will merge once CI passes (and the github authorship bug is fixed.) :-)

@yuanming-hu yuanming-hu merged commit 51bd159 into taichi-dev:master Mar 6, 2020
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