Skip to content

Conversation

@technic960183
Copy link
Member

Summary

This pull request makes a minor fix in the src/Main/InvokeSolver.cpp file by correcting the type of the JEANS_MIN_PRES variable from real to bool. Although I do not know why compilers do not complain about it, this change improves type safety anyway.

Change

  • Fixed the type of JEANS_MIN_PRES from real to bool to accurately reflect its intended use as a boolean flag (src/Main/InvokeSolver.cpp).

Tests

Pass regression tests of BlastWave_Hydro, Riemann_Hydro, BlastWave_MHD, Riemann_MHD, MHD_ABC_MHD, AcousticWave_Hydro, Riemann_SRHD, Plummer_Particle, and Plummer_Gravity on both spock and perlmutter.

@hyschive hyschive self-assigned this Nov 8, 2025
@hyschive hyschive added the bugfix Fix bugs label Nov 8, 2025
@hyschive hyschive merged commit 53d6167 into gamer-project:main Nov 8, 2025
@technic960183 technic960183 deleted the bugfix-type branch November 8, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants