Skip to content

Commit

Permalink
Merge pull request seahorce-scidac#132 from seahorce-scidac/fix_oops
Browse files Browse the repository at this point in the history
fix oops with icomp
  • Loading branch information
asalmgren authored Jan 11, 2024
2 parents 09ef7fb + 31c11c2 commit 7ee2842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/BoundaryConditions/BoundaryConditions_netcdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ REMORA::fill_from_bdyfiles (MultiFab& mf_to_fill, const Real time, const int bdy
Box ylo = bdy_data_ylo[n_time][ivar].box() & mf_box;
Box yhi = bdy_data_yhi[n_time][ivar].box() & mf_box;

const Array4<Real>& dest_arr = mf_to_fill.array(mfi,icomp);
const Array4<Real>& dest_arr = mf_to_fill.array(mfi);

if (!xlo.isEmpty()) {
ParallelFor(xlo, [=] AMREX_GPU_DEVICE (int i, int j, int k)
Expand Down

0 comments on commit 7ee2842

Please sign in to comment.