From 1f64e254435723a952ff3296075ca9a52694dce5 Mon Sep 17 00:00:00 2001 From: levinem <14362448+levinem@users.noreply.github.com> Date: Thu, 21 Nov 2019 20:49:47 -0500 Subject: Added a line break between the const int declaration and the for loop. Updated the nLevels variable name to CamelCase. --- Source/Particles/WarpXParticleContainer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Particles/WarpXParticleContainer.cpp') diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index 571de6c4e..a7e5b82da 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -631,8 +631,9 @@ Real WarpXParticleContainer::sumParticleCharge(bool local) { amrex::Real total_charge = 0.0; - const int nlevels = finestLevel(); - for (int lev = 0; lev < nlevels; ++lev) + const int nLevels = finestLevel(); + + for (int lev = 0; lev < nLevels; ++lev) { #ifdef _OPENMP -- cgit v1.2.3