Skip to content

Commit

Permalink
Change std::pow to amrex::Math::powi
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Sep 11, 2024
1 parent 17bd7b6 commit 13310ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Particles/PhysicalParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2338,7 +2338,7 @@ PhysicalParticleContainer::SplitParticles (int lev)
long np_split;
if(split_type==0)
{
np_split = std::pow(2, AMREX_SPACEDIM);
np_split = amrex::Math::powi<AMREX_SPACEDIM>(2);
} else {
np_split = 2*AMREX_SPACEDIM;
}
Expand Down

0 comments on commit 13310ce

Please sign in to comment.