diff --git a/src/OpenMesh/Core/Geometry/Vector11T.hh b/src/OpenMesh/Core/Geometry/Vector11T.hh index 9761a7a7..de31544c 100644 --- a/src/OpenMesh/Core/Geometry/Vector11T.hh +++ b/src/OpenMesh/Core/Geometry/Vector11T.hh @@ -382,7 +382,7 @@ class VectorT { auto operator|(const VectorT& _rhs) const -> decltype(*this->data() * *_rhs.data()) { - return std::inner_product(begin(), begin() + DIM, _rhs.begin() + 1, + return std::inner_product(begin() + 1, begin() + DIM, _rhs.begin() + 1, *begin() * *_rhs.begin()); }