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
[Taichi] version 1.5.0, llvm 15.0.1, commit ae61418d, win, python 3.9.12
[I 02/27/23 14:08:59.905 27420] [shell.py:_shell_pop_print@23] Graphical python shell detected, using wrapped sys.stdout
c:\users\cheng cao\source\repos\taichi\python\taichi\types\ndarray_type.py:91: DeprecationWarning: The element_dim and element_shape arguments for ndarray will be deprecated in v1.5.0, use matrix dtype instead.
warnings.warn(
[Taichi] Starting on arch=x64
[E 02/27/23 14:09:00.348 27420] [scalarize.cpp:taichi::lang::Scalarize::scalarize_store_stmt@51] Assertion failure: dest_tensor_type->get_shape() == val_tensor_type->get_shape()
Traceback (most recent call last):
File "C:\Users\Cheng Cao\test_vec.py", line 11, in <module>
update_f()
File "c:\users\cheng cao\source\repos\taichi\python\taichi\lang\kernel_impl.py", line 1004, in wrapped
return primal(*args, **kwargs)
File "c:\users\cheng cao\source\repos\taichi\python\taichi\lang\shell.py", line 27, in new_call
ret = old_call(*args, **kwargs)
File "c:\users\cheng cao\source\repos\taichi\python\taichi\lang\kernel_impl.py", line 931, in __call__
return self.runtime.compiled_functions[key](*args)
File "c:\users\cheng cao\source\repos\taichi\python\taichi\lang\kernel_impl.py", line 835, in func__
raise e from None
File "c:\users\cheng cao\source\repos\taichi\python\taichi\lang\kernel_impl.py", line 832, in func__
t_kernel(launch_ctx)
RuntimeError: [scalarize.cpp:taichi::lang::Scalarize::scalarize_store_stmt@51] Assertion failure: dest_tensor_type->get_shape() == val_tensor_type->get_shape()
This should be a compile error
This error should be caught in type check
The text was updated successfully, but these errors were encountered:
This following code:
produces this error:
The text was updated successfully, but these errors were encountered: