-
Notifications
You must be signed in to change notification settings - Fork 32
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
The code snippet about ti.Vector is not working #501
Comments
@neozhaoliang Please could you take a look? |
@cooperliu101 The function |
The code is placed at field.md |
@cooperliu101 Could please add the link to that line? |
The 1.1.3 version doc have replaced with new code contents. The below link is the old version. |
Thanks. The line below in the link is wrong and we have fixed it in v1.1.3: # Declare a 1x2x3 vector field whose vector dimension is n=2
f = ti.Vector(ti.f32, n=2).field(shape=(1,2,3)) The correct syntax is |
I find that the below code is not working. the taichi version is 1.1.2. The code is placed at field.md
Is this the old syntax?
The text was updated successfully, but these errors were encountered: