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

Fix v_limit_prbl_sm_stencil_01 #107

Merged
merged 2 commits into from
Oct 14, 2022

Conversation

abishekg7
Copy link
Contributor

No description provided.

@abishekg7 abishekg7 requested a review from halungge October 14, 2022 09:17
@@ -31,7 +31,7 @@
def _v_limit_prbl_sm_stencil_01(
p_face: Field[[CellDim, KDim], float],
p_cc: Field[[CellDim, KDim], float],
) -> Field[[CellDim, KDim], float]:
) -> tuple[Field[[CellDim, KDim], float], Field[[CellDim, KDim], float]]:
Copy link
Contributor

Choose a reason for hiding this comment

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

the return type is fine,
but below do you need the broadcast? you are then reassigning in the where..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, not strictly necessary. will remove

@abishekg7 abishekg7 requested a review from halungge October 14, 2022 09:50
@abishekg7 abishekg7 merged commit a40fe69 into tracer_advection_stencils Oct 14, 2022
@abishekg7 abishekg7 deleted the fix_tracer_stencil branch October 14, 2022 11:49
ninaburg pushed a commit that referenced this pull request Nov 29, 2022
* fixing return type

* removing broadcast
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.

2 participants