taichi icon indicating copy to clipboard operation
taichi copied to clipboard

Confused error message when ti.init() is not called

Open erizmr opened this issue 3 years ago • 1 comments

Describe the bug Confused error message when ti.init() is not called. It does not remind the user that ti.init() should be called first.

To Reproduce

import taichi as ti

a = ti.field(dtype=float, shape=())

Log/Screenshots image

Related issue: #784

erizmr avatar Mar 08 '22 02:03 erizmr

Is your problem solved? I meet the same problem, too.

StormMelody avatar Feb 13 '25 12:02 StormMelody