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

misc: Add more helpful error for time bounds edge case #2457

Closed EdCaunt closed 2 months ago

EdCaunt commented 2 months ago

Adds a better error message for certain edge cases where time_M (or nominally any other dimension) is arg checked inside Operator._prepare_arguments.

EdCaunt commented 2 months ago

Correct fix appears to be elsewhere. Closing.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 87.06%. Comparing base (cec0542) to head (03d91a4).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2457 +/- ## ======================================= Coverage 87.06% 87.06% ======================================= Files 238 238 Lines 45171 45172 +1 Branches 8417 8417 ======================================= + Hits 39326 39327 +1 Misses 5112 5112 Partials 733 733 ```

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