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

[misc] Weird error message for ti.fill #7844

Closed
bobcao3 opened this issue Apr 18, 2023 · 0 comments
Closed

[misc] Weird error message for ti.fill #7844

bobcao3 opened this issue Apr 18, 2023 · 0 comments
Assignees

Comments

@bobcao3
Copy link
Collaborator

bobcao3 commented Apr 18, 2023

[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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants