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
{{ message }}
This repository was archived by the owner on May 29, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 29, 2026. It is now read-only.
🐛[BUG]: Unable to use torch.where expression when constructing PDEs. Workaround is to use Heaviside. #277
Hi Nvidia - Physicsnemo-Sym Developers,
I'm unable to use the Piecewise sympy expression to invoke the torch.where functionality when constructing the PDEs. As an alternative I found that using the Heaviside works but the usage of torch.where is required when having conditional evaluation of tensor operations. Can someone please help me with this?
Closing as part of the archival of this repository. The key components have been upstreamed to NVIDIA/physicsnemo. Please refer to the v2.0 Migration Guide and feel free to re-open your issue there if it is still relevant.
Activity
ram-cherukuri commentedon Feb 6, 2026
@AAKHASH17 Can you share more details like a minimum reproducible example to help address this?
ktangsali commentedon Apr 29, 2026
Closing as part of the archival of this repository. The key components have been upstreamed to NVIDIA/physicsnemo. Please refer to the v2.0 Migration Guide and feel free to re-open your issue there if it is still relevant.