Skip to content

Commit

Permalink
Map: Rename stride -> shape in RangeIterator
Browse files Browse the repository at this point in the history
  • Loading branch information
publixsubfan committed Apr 8, 2024
1 parent 7c69ed1 commit 379db95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/axom/slam/Map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,17 +575,17 @@ class Map : public StrPol,
using difference_type = SetPosition;

private:
static StackArray<IndexType, Dims + 1> fetchDims(StrideIndexType stride)
static StackArray<IndexType, Dims + 1> fetchDims(StrideIndexType shape)
{
return {0, stride};
return {0, shape};
}
static StackArray<IndexType, Dims + 1> fetchDims(
const StackArray<StrideIndexType, Dims> stride)
const StackArray<StrideIndexType, Dims> shape)
{
StackArray<IndexType, Dims + 1> dims;
for(int idim = 0; idim < Dims; idim++)
{
dims[idim + 1] = stride[idim];
dims[idim + 1] = shape[idim];
}
return dims;
}
Expand Down

0 comments on commit 379db95

Please sign in to comment.