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

DataServices: Qualify math functions with std:: namespace specifier #3406

Merged
merged 3 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ Tutorials/EB/Donut/Exec/ls_plt*

# local config
Tools/GNUMake/Make.local
Tools/GNUMake/Make.local-pre
Tools/GNUMake/Make.local-pre

# profparser
BLProfParser.lex.yy.cpp
BLProfParser.tab.H
BLProfParser.tab.cpp
BLProfParserNC.y
4 changes: 2 additions & 2 deletions Src/Extern/amrdata/AMReX_DataServices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2488,7 +2488,7 @@ void DataServices::RunTimelinePF(std::map<int, std::string> &mpiFuncNames,
int ntnSize(nameTagNames.size());
ntnNumbers.resize(ntnSize, 0.0);
if(ntnSize > 0) {
ntnMultiplier = pow(10, static_cast<int>( 1 + log10(ntnSize)));
ntnMultiplier = std::pow(10, static_cast<int>( 1 + std::log10(ntnSize)));
}
for(int i(0); i < ntnSize; ++i) {
if(ntnMultiplier > 0.0) {
Expand All @@ -2501,7 +2501,7 @@ void DataServices::RunTimelinePF(std::map<int, std::string> &mpiFuncNames,
int bnSize(barrierNames.size());
bnNumbers.resize(bnSize, 0.0);
if(bnSize > 0) {
bnMultiplier = pow(10, static_cast<int>( 1 + log10(bnSize)));
bnMultiplier = std::pow(10, static_cast<int>( 1 + std::log10(bnSize)));
}
for(int i(0); i < bnSize; ++i) {
if(bnMultiplier > 0.0) {
Expand Down