Skip to content

Commit f37c514

Browse files
committed
psc_bnd_fields_impl: missing some stops
1 parent e8892ff commit f37c514

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libpsc/psc_bnd_fields/psc_bnd_fields_impl.hxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ struct BndFields_ : BndFieldsBase
230230
}
231231

232232
Int3 edge_start = mflds.ib();
233-
Int3 edge_stop = mflds.im();
233+
Int3 edge_stop = mflds.ib() + mflds.im();
234234
edge_start[d] = 0;
235235
edge_stop[d] = 1;
236236

@@ -274,7 +274,7 @@ struct BndFields_ : BndFieldsBase
274274
}
275275

276276
Int3 edge_start = mflds.ib();
277-
Int3 edge_stop = mflds.im();
277+
Int3 edge_stop = mflds.ib() + mflds.im();
278278
edge_start[d] = mflds.grid().ldims[d];
279279
edge_stop[d] = mflds.grid().ldims[d] + 1;
280280

0 commit comments

Comments
 (0)