fix bugs for helmholtz and advection (#686)

This commit is contained in:
Giovanni Canali
2025-10-30 10:15:38 +01:00
committed by GitHub
parent 64930c431f
commit fca3db7926
3 changed files with 9 additions and 10 deletions

View File

@@ -104,7 +104,7 @@ def test_advection_equation(c):
# Should fail if c is a list and its length != spatial dimension
with pytest.raises(ValueError):
Advection([1, 2, 3])
equation = Advection([1, 2, 3])
residual = equation.residual(pts, u)