Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access dense fields in a reduction with Origin without horizontal offset #82

Open
BenWeber42 opened this issue Feb 4, 2021 · 1 comment
Labels
bug Something isn't working med-effort Requires medium effort/time simple Low in complexity and estimated time small Requires little effort/time

Comments

@BenWeber42
Copy link
Contributor

This should work but breaks:

@stencil
def test_origin_dense_bug(a: Field[Edge], b: Field[Edge]):
  with domain.upward:
    a = sum_over(Edge + Origin > Cell > Edge, b[Edge + Origin])
@BenWeber42 BenWeber42 added bug Something isn't working simple Low in complexity and estimated time small Requires little effort/time med-effort Requires medium effort/time labels Feb 4, 2021
@BenWeber42
Copy link
Contributor Author

Maybe it should be b[Edge] instead of b[Edge + Origin]. The latter looks a bit misleading 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working med-effort Requires medium effort/time simple Low in complexity and estimated time small Requires little effort/time
Projects
None yet
Development

No branches or pull requests

1 participant