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

sparse_advection format string incorrect #952

Closed
BenWibking opened this issue Oct 9, 2023 · 0 comments · Fixed by #954
Closed

sparse_advection format string incorrect #952

BenWibking opened this issue Oct 9, 2023 · 0 comments · Fixed by #954
Labels
bug Something isn't working

Comments

@BenWibking
Copy link
Collaborator

There's a minor format string error in the sparse_advection example:

[146/154] Building CXX object example/sparse_advection/CMakeFiles/sparse_advection-example.dir/parthenon_app_inputs.cpp.o
/Users/benwibking/parthenon/example/sparse_advection/parthenon_app_inputs.cpp:180:17: warning: format specifies type 'long' but the argument has type 'std::uint64_t' (aka 'unsigned long long') [-Wformat]
                mem_min, mem_max, mem_avg);
                ^~~~~~~
/Users/benwibking/parthenon/example/sparse_advection/parthenon_app_inputs.cpp:180:26: warning: format specifies type 'long' but the argument has type 'std::uint64_t' (aka 'unsigned long long') [-Wformat]
                mem_min, mem_max, mem_avg);
                         ^~~~~~~
2 warnings generated.
@BenWibking BenWibking added the bug Something isn't working label Oct 9, 2023
Yurlungur added a commit that referenced this issue Oct 10, 2023
…ormat-string-incorrect

Trivial fix: Fix warning from slightly incorrect printf format string. Resolves #952
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant