AMReX-Astro / MAESTROeX

A C++ low Mach number stellar hydrodynamics code
https://amrex-astro.github.io/MAESTROeX/
BSD 3-Clause "New" or "Revised" License
40 stars 22 forks source link

Change loops to use int instead of long #438

Closed biboyd closed 6 months ago

biboyd commented 6 months ago

Addresses issue #426 . Some loops were using long instead of int when this was not actually desired. Found a couple more cases of this in MaestroMakeGrav.cpp where again the index r was just used to access BaseStateArray's

zingale commented 6 months ago

tests pass: http://groot.astro.sunysb.edu/MAESTROeX/test-suite/gfortran/2024-04-11-002/index.html