Skip to content

Commit

Permalink
Merge branch 'development' into swap_gravity
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Mar 20, 2024
2 parents 4ed78db + 09bde5f commit dc80b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/reactions/Castro_react.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Castro::react_state(MultiFab& s, MultiFab& r, Real time, Real dt, const int stra
#if defined(AMREX_USE_GPU)
ParallelFor(bx, [=] AMREX_GPU_DEVICE (int i, int j, int k)
#else
LoopOnCpu(bx, [&] (int i, int j, int k) mutable
LoopOnCpu(bx, [&] (int i, int j, int k)
#endif
{

Expand Down Expand Up @@ -558,7 +558,7 @@ Castro::react_state(Real time, Real dt)
#if defined(AMREX_USE_GPU)
ParallelFor(bx, [=] AMREX_GPU_DEVICE (int i, int j, int k)
#else
LoopOnCpu(bx, [&] (int i, int j, int k) mutable
LoopOnCpu(bx, [&] (int i, int j, int k)
#endif
{
burn_t burn_state;
Expand Down

0 comments on commit dc80b2f

Please sign in to comment.