Skip to content

Commit

Permalink
fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Jun 28, 2023
1 parent 259bf6e commit 0c2135f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Base/AMReX_PODVector.H
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ namespace amrex
while (new_capacity < (capacity() + a_num_to_be_added))
{
new_capacity = static_cast<size_type>(
VectorGrowthStrategy::GetFactor() * (new_capacity + 1));
VectorGrowthStrategy::GetGrowthFactor() * (new_capacity + 1));
}

return new_capacity;
Expand Down

0 comments on commit 0c2135f

Please sign in to comment.