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 }}
Repository navigation
Stuck or very Slow check is_linear_expression in LinearForm and BilinearForm #121
is_linear_expression checks whether the expression given in a LinearForm (or a BilinearForm resp.ly) instance is actually linear (bi-linear resp.ly). For some expressions, known to be linear, the check is really slow or even stuck in a loop. This might be due to the current version used of sympy in sympde.
As an example, you may import Laplacian from psydac.examples.poisson_2d_mapping and TargetMapping from sympde.topology.analytical_mapping and run
I am reopening this issue, as the problem still shows up in certain situations (e.g. in the PSYDAC example poisson_3d_target_torus.py, as discussed here). PR #187 made significant improvements toward solving this issue, but we need a more structural and solid solution. In particular, I think a new API design might be essential
Activity
yguclu commentedon Oct 2, 2026
I am reopening this issue, as the problem still shows up in certain situations (e.g. in the PSYDAC example poisson_3d_target_torus.py, as discussed here). PR #187 made significant improvements toward solving this issue, but we need a more structural and solid solution. In particular, I think a new API design might be essential