taichi-dev / taichi_elements

High-performance multi-material continuum physics engine in Taichi
MIT License
492 stars 71 forks source link

fix on ti.static(ti.grouped(ti.ndrange(...))) #86

Closed Jack12xl closed 2 years ago

Jack12xl commented 2 years ago

Starting my taichi == 0.8.6, the ti.static for loop will raise AttributeError: 'tuple' object has no attribute 'cast'