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

vec3 comparison returns -1 in python scope #5746

Closed
neozhaoliang opened this issue Aug 12, 2022 · 1 comment · Fixed by #5840
Closed

vec3 comparison returns -1 in python scope #5746

neozhaoliang opened this issue Aug 12, 2022 · 1 comment · Fixed by #5840
Assignees
Labels
potential bug Something that looks like a bug but not yet confirmed

Comments

@neozhaoliang
Copy link
Contributor

To reproduce:

import taichi as ti
ti.init()

v = ti.math.vec3(0, 1, 2)
print(v < 1)  # [-1, 0, 0]
@neozhaoliang neozhaoliang added the potential bug Something that looks like a bug but not yet confirmed label Aug 12, 2022
@taichi-gardener taichi-gardener moved this to Untriaged in Taichi Lang Aug 12, 2022
@qiao-bo qiao-bo moved this from Untriaged to Todo in Taichi Lang Aug 12, 2022
@strongoier
Copy link
Contributor

cc: @re-xyr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
potential bug Something that looks like a bug but not yet confirmed
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants