diff --git a/include/sparrow/typed_array.hpp b/include/sparrow/typed_array.hpp index 8ad893ae..c80c67f6 100644 --- a/include/sparrow/typed_array.hpp +++ b/include/sparrow/typed_array.hpp @@ -483,7 +483,7 @@ namespace sparrow } return true; #else - return std::equal(ta1.cbegin(), ta1.cend(), ta2.cbegin(), ta2.cend()); + return std::equal(ta1.begin(), ta1.end(), ta2.begin(), ta2.end()); #endif }