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

bug[next]: Bound args kwargs edit #1411

Merged
merged 6 commits into from
Jan 18, 2024

Conversation

nfarabullini
Copy link
Contributor

@nfarabullini nfarabullini commented Jan 9, 2024

Fixes #1402

@nfarabullini nfarabullini requested review from havogt and removed request for havogt January 9, 2024 12:44
@nfarabullini nfarabullini requested a review from havogt January 9, 2024 12:51
@tehrengruber tehrengruber changed the title Bound args kwargs edit bug[next]: Bound args kwargs edit Jan 9, 2024
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.

If I understand correctly, the bound_args dictionary needs to be ordered, which seems to be an overspecification, because the order is already defined by the params of the original program. Can you double-check if that's the case and if the code could be simplified.

src/gt4py/next/ffront/decorator.py Outdated Show resolved Hide resolved
src/gt4py/next/ffront/decorator.py Outdated Show resolved Hide resolved
@nfarabullini nfarabullini requested a review from havogt January 16, 2024 12:14
@nfarabullini
Copy link
Contributor Author

cscs-ci run

@nfarabullini nfarabullini merged commit 3edf21e into GridTools:main Jan 18, 2024
19 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.

ProgramWithBoundArgs: pos_or_kw_args need to go to kwargs sometimes
2 participants