taichi-dev / difftaichi

10 differentiable physical simulators built with Taichi differentiable programming (DiffTaichi, ICLR 2020)
2.49k stars 260 forks source link

[bug] fix diffmpm3d loss empty #63

Closed erizmr closed 1 year ago

erizmr commented 1 year ago

Related issue: https://github.com/taichi-dev/taichi/issues/7106

The bug is induced by the name alias between global field and function arguments.