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 narrowing conversion in LRMP_DG for CADET_PARALLELIZE code block #264

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

jbreue16
Copy link
Contributor

@jbreue16 jbreue16 commented Aug 6, 2024

LumpedRateModelWithoutPoresDG-InitialConditions.cpp would not build with multithreading enabled since narrowing conversion from unsigned __int64 to unsigned int requires type casting.

wondering why this doesnt happen for the GRM_DG, i found that theres an offset error when reusing the Jaocbian memory for consistent initialization. This probably doesnt cause any issues but fixed it anyways.

@jbreue16 jbreue16 self-assigned this Aug 6, 2024
@ronald-jaepel ronald-jaepel merged commit 5f83334 into master Aug 6, 2024
4 checks passed
@ronald-jaepel ronald-jaepel deleted the fix/narrowing_conversion branch August 6, 2024 12:01
@github-actions github-actions bot locked and limited conversation to collaborators Aug 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants