We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ti.fill
[E 04/18/23 12:43:27.359 19008] [type_factory.cpp:taichi::lang::promoted_type@228] a = f32, b = [Tensor (4) f32], only one of them is a tensor type
source code:
texture_dirs = ti.ndarray(vec4, (512,512)) texture_dirs.fill(vec4(1.0, 0.0, 0.0, 0.0))
The text was updated successfully, but these errors were encountered:
[Lang] Fix Ndarray fill with Matrix/Vector typed values (#7901)
a25ba80
Issue: #7844
[Lang] Fix Ndarray fill with Matrix/Vector typed values (taichi-dev#7901
b11f45e
) Issue: taichi-dev#7844
jim19930609
No branches or pull requests
source code:
The text was updated successfully, but these errors were encountered: