Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug[next]: Add assert for OOB access (GridTools#1571)
In case a stencil contains an Out-Of-Bounds accesses the derivation of the dtype in ITIR embedded can fail with an obscure error like ``` ValueError: DType 'DType(scalar_type=<class 'numpy.object_'>, tensor_shape=())' not supported. ``` This PR adds an assert to catch this earlier and fail more gracefully.
- Loading branch information