devitocodes / devito

DSL and compiler framework for automated finite-differences and stencil computation
http://www.devitoproject.org
MIT License
565 stars 229 forks source link

api: enforce sympy shifts #2471

Closed mloubout closed 1 month ago

mloubout commented 1 month ago

Was preventing this

https://github.com/devitocodes/devito/blob/779522508a45d677f233811846fcc7eb36cea916/examples/seismic/tti/operators.py#L158

to simplify leading to u.dx2 + u.dy2 - u.dy2 expressions....

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.18%. Comparing base (7795225) to head (98cd2ad). Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2471 +/- ## ========================================== + Coverage 87.17% 87.18% +0.01% ========================================== Files 239 238 -1 Lines 45160 45141 -19 Branches 4007 4005 -2 ========================================== - Hits 39367 39356 -11 + Misses 5112 5104 -8 Partials 681 681 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

FabioLuporini commented 1 month ago

merged, thanks