File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -324,17 +324,17 @@ void ABLStats::compute_zi()
324324 return (ptmp[iblock] + amrex::Real (0.5 )) * dnval;
325325 });
326326#else
327- auto alo = amrex::lbound (fabbox);
328- auto ahi = amrex::ubound (fabbox);
327+ auto lo = amrex::lbound (fabbox);
328+ auto hi = amrex::ubound (fabbox);
329329 AMREX_ALWAYS_ASSERT (dir == 2 );
330330#ifdef AMREX_USE_OMP
331331#pragma omp parallel for collapse(2) reduction(+ : zi_sum)
332332#endif
333- for (int j = alo .y ; j <= ahi .y ; ++j) {
334- for (int i = alo .x ; i <= ahi .x ; ++i) {
333+ for (int j = lo .y ; j <= hi .y ; ++j) {
334+ for (int i = lo .x ; i <= hi .x ; ++i) {
335335 amrex::Real vmax = std::numeric_limits<amrex::Real>::lowest ();
336336 int idxmax = 0 ;
337- for (int k = alo .z ; k <= ahi .z ; ++k) {
337+ for (int k = lo .z ; k <= hi .z ; ++k) {
338338 if (a (i, j, k) > vmax) {
339339 vmax = a (i, j, k);
340340 idxmax = i;
You can’t perform that action at this time.
0 commit comments