Skip to content

Commit 8eded85

Browse files
committed
Fix AMReX integrator interface change
1 parent 65adc9d commit 8eded85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/integrators/amrex_integrators.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void IntegratorAMReX::Integrate(LevelData &mf_old, LevelData &mf_new,
1818
// TODO Make 4th order time interpolation available.
1919
amrex::TimeIntegrator<amrex::MultiFab> integrator(mf_old);
2020

21-
auto source_fun = [&](amrex::MultiFab &rhs, amrex::MultiFab &state,
21+
auto source_fun = [&](amrex::MultiFab &rhs, const amrex::MultiFab &state,
2222
const double time) {
2323
sim->level_synchronizer->FillIntermediatePatch(lev, time, state);
2424
sim->FillRhs(rhs, state, time, lev, dt, dx);

0 commit comments

Comments
 (0)