Skip to content

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

@BenWeber42

Description

@BenWeber42

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])

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmed-effortRequires medium effort/timesimpleLow in complexity and estimated timesmallRequires little effort/time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions