Skip to content

Commit 76fa6c9

Browse files
committed
Bug fix in SAMRAI base (github.com/LLNL/SAMRAI/issues/7)
1 parent cb5e7a8 commit 76fa6c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/SAMRAI/SAMRAI/source/SAMRAI/pdat/OuternodeData.C

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ OuternodeData<TYPE>::operator () (
193193
TBOX_ASSERT_OBJDIM_EQUALITY2(*this, i);
194194
TBOX_ASSERT((depth >= 0) && (depth < d_depth));
195195

196-
for (int d = getDim() - 1; d >= 0; --d) {
196+
for (int d = getDim().getValue() - 1; d >= 0; --d) {
197197
if (i[d] == d_data[d][0]->getBox().lower()[d]) {
198198
return (*(d_data[d][0]))(i, depth);
199199
}

0 commit comments

Comments
 (0)