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

Documentation: Fix default values #3562

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

WeiqunZhang
Copy link
Member

Boolean flag amrex.use_gpu_aware_mpi has int as its C++ type. So its default value should be 0 not False.

For some other boolean flags with bool as their C++ type, the default value should be false, not False.

Boolean flag `amrex.use_gpu_aware_mpi` has `int` as its C++ type. So its
default value should be 0 not False.

For some other boolean flags with `bool` as their C++ type, the default
value should be `false`, not `False`.
@WeiqunZhang WeiqunZhang mentioned this pull request Sep 25, 2023
5 tasks
@WeiqunZhang WeiqunZhang merged commit 8935217 into AMReX-Codes:development Sep 30, 2023
64 of 66 checks passed
@WeiqunZhang WeiqunZhang deleted the fix_bool_flag branch September 30, 2023 00:12
guj pushed a commit to guj/amrex that referenced this pull request Dec 13, 2023
Boolean flag `amrex.use_gpu_aware_mpi` has `int` as its C++ type. So its
default value should be 0 not False.

For some other boolean flags with `bool` as their C++ type, the default
value should be `false`, not `False`.
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