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

feat[next]: Output argument with non-zero domain start #1780

Merged

Conversation

tehrengruber
Copy link
Contributor

@tehrengruber tehrengruber commented Dec 10, 2024

field = gtx.as_field(gtx.domain({IDim: (1, 10)}), arr)
field_operator(out=field)

This PR also adds a test for non-zero domain start input arguments, which already worked before.

cases.verify(cartesian_case, copy_program, inp, out=out, ref=ref)


def test_in_field_arg_with_non_zero_domain_start(cartesian_case, copy_program_def):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This already worked before, I've just added a test.

@tehrengruber tehrengruber changed the title feat[next]: Field args with non-zero domain start feat[next]: Output argument with non-zero domain start Dec 11, 2024
@tehrengruber tehrengruber marked this pull request as ready for review January 10, 2025 01:40
Copy link
Contributor

@egparedes egparedes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me, just some questions and very minor comments.

Copy link
Contributor

@egparedes egparedes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

havogt
havogt previously requested changes Jan 16, 2025
Copy link
Contributor

@havogt havogt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just blocking, because I would like to review the changes.

@havogt havogt dismissed their stale review January 16, 2025 08:47

I understand now...

@tehrengruber tehrengruber merged commit 489ccbb into GridTools:main Jan 17, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants