Skip to content

Commit

Permalink
fix index type
Browse files Browse the repository at this point in the history
  • Loading branch information
biboyd committed Apr 11, 2024
1 parent a7d78de commit ad6d3f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/MaestroSlopes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ void Maestro::Slopey(const Box& bx, Array4<Real> const s,
Vector<int> bclo_v(ncomp);
Vector<int> bchi_v(ncomp);
for (int i = 0; i < ncomp; ++i) {
bclo_v[i] = bcs[bc_start_comp + i].lo()[0];
bchi_v[i] = bcs[bc_start_comp + i].hi()[0];
bclo_v[i] = bcs[bc_start_comp + i].lo()[1];
bchi_v[i] = bcs[bc_start_comp + i].hi()[1];
}

AsyncArray<int> bclo(bclo_v.data(), bclo_v.size());
Expand Down Expand Up @@ -417,8 +417,8 @@ void Maestro::Slopez(const Box& bx, Array4<Real> const s,
Vector<int> bclo_v(ncomp);
Vector<int> bchi_v(ncomp);
for (int i = 0; i < ncomp; ++i) {
bclo_v[i] = bcs[bc_start_comp + i].lo()[0];
bchi_v[i] = bcs[bc_start_comp + i].hi()[0];
bclo_v[i] = bcs[bc_start_comp + i].lo()[2];
bchi_v[i] = bcs[bc_start_comp + i].hi()[2];
}

AsyncArray<int> bclo(bclo_v.data(), bclo_v.size());
Expand Down

0 comments on commit ad6d3f7

Please sign in to comment.