diff --git a/python/taichi/examples/minimal.py b/python/taichi/examples/minimal.py index a1f996af8af9c..ce7c87a326eac 100644 --- a/python/taichi/examples/minimal.py +++ b/python/taichi/examples/minimal.py @@ -1,14 +1,12 @@ import taichi as ti -ti.init(print_ir=True) +ti.init() @ti.kernel def p() -> ti.f32: - y = 0.0 - x = 1 - y -= not x - return y + print(42) + return 40 + 2 print(p())