diff --git a/src/TiledArray/range.h b/src/TiledArray/range.h index 2d21b5d5d7..16c7fd943e 100644 --- a/src/TiledArray/range.h +++ b/src/TiledArray/range.h @@ -1005,7 +1005,7 @@ class Range { /// \return A shifted copy of this range template >> - Range_ shift(const Index& bound_shift) { + Range_ shift(const Index& bound_shift) const { Range_ result(*this); result.inplace_shift(bound_shift); return result; @@ -1018,7 +1018,7 @@ class Range { /// \return A shifted copy of this range template >> - Range_ shift(const std::initializer_list& bound_shift) { + Range_ shift(const std::initializer_list& bound_shift) const { Range_ result(*this); result.inplace_shift(bound_shift); return result;