You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to run the code with Taichi built with latest commit. Can you try installing the nightly build and see if this issue have already been resolved?
I was able to run the code with Taichi built with latest commit. Can you try installing the nightly build and see if this issue have already been resolved?
Problem code
In the code below, TaiChi will throw a IndexError about the index of
w
.PowerShell output looks like this
A way to avoid this
But when I change the definition of
w
into this, then everything works well.Question
How to pass the
w
defined byti.types.vector(9, float)
to the@ti.kernel
without usew
as input argument?The text was updated successfully, but these errors were encountered: