Skip to content

Commit

Permalink
fix bug in gpot derived var
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking committed Jan 18, 2024
1 parent a8b5097 commit 787ecbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SphericalCollapse/spherical_collapse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ template <> void RadhydroSimulation<CollapseProblem>::ComputeDerivedVar(int lev,
auto output = mf.arrays();

amrex::ParallelFor(
mf, [=] AMREX_GPU_DEVICE(int bx, int i, int j, int k) noexcept { output[bx](i, j, k, ncomp) = phi_data_ref[bx](i, j, k, ncomp); });
mf, [=] AMREX_GPU_DEVICE(int bx, int i, int j, int k) noexcept { output[bx](i, j, k, ncomp) = phi_data_ref[bx](i, j, k); });
}
}

Expand Down

0 comments on commit 787ecbb

Please sign in to comment.