diff --git a/Source/driver/Castro_advance_ctu.cpp b/Source/driver/Castro_advance_ctu.cpp index 1bef856ae1..af387a92d2 100644 --- a/Source/driver/Castro_advance_ctu.cpp +++ b/Source/driver/Castro_advance_ctu.cpp @@ -351,7 +351,7 @@ Castro::subcycle_advance_ctu(const Real time, const Real dt, int amr_iteration, #ifdef GRAVITY if (do_grav) { - getLevel(lev).gravity->swapTimeLevels(level); + getLevel(lev).gravity->swapTimeLevels(lev); } #endif }