An error occurred while retrieving approval data for this merge request.
Only set block_offsets if it is actually needed
Fixes https://i10git.cs.fau.de/pycodegen/pycodegen/-/jobs/289889, broken by !1 (merged).
Fixes https://i10git.cs.fau.de/pycodegen/pycodegen/-/jobs/289889, broken by !1 (merged).
It is possible to define kernels on 2D fields in pystencils, which are then transformed to 3D with unit z-size.
This gives potentially a problem when using either all three block offsets or none. We should check for each block_offset separately to make it more robust.
added 1 commit
merged
mentioned in commit 9d786d66