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

remove reinterpret_cast in rhs.H #1435

Merged
merged 9 commits into from
Mar 15, 2024

Conversation

zingale
Copy link
Member

@zingale zingale commented Jan 2, 2024

No description provided.

@zingale
Copy link
Member Author

zingale commented Jan 2, 2024

@zingale
Copy link
Member Author

zingale commented Mar 9, 2024

networks/rhs.H Outdated
@@ -273,19 +273,17 @@ constexpr int is_jacobian_term_used ()
}

AMREX_GPU_HOST_DEVICE AMREX_INLINE
void dgesl (RArray2D& a1, RArray1D& b1)
void dgesl (RArray2D& a, RArray1D& b)
Copy link
Collaborator

Choose a reason for hiding this comment

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

a can be made const here

Copy link
Member Author

Choose a reason for hiding this comment

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

updated

Copy link
Collaborator

@yut23 yut23 left a comment

Choose a reason for hiding this comment

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

I went through and did the index shifts for myself, and got the same code.

@zingale zingale merged commit 07a186e into AMReX-Astro:development Mar 15, 2024
27 checks passed
@zingale zingale deleted the rhs_reinterpret_cast branch March 15, 2024 22:22
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.

None yet

2 participants