diff --git a/libsrc/core/array.hpp b/libsrc/core/array.hpp index 6d5fdb51..946ea228 100644 --- a/libsrc/core/array.hpp +++ b/libsrc/core/array.hpp @@ -613,8 +613,10 @@ namespace ngcore return Pos(elem) != ILLEGAL_POSITION; } - auto begin() const { return ArrayIterator (*this, BASE); } - auto end() const { return ArrayIterator (*this, size+BASE); } + //auto begin() const { return ArrayIterator (*this, BASE); } + // auto end() const { return ArrayIterator (*this, size+BASE); } + auto begin() const { return data; } + auto end() const { return data+Size(); } }; template