diff --git a/dune/xt/la/container/vector-interface.hh b/dune/xt/la/container/vector-interface.hh index 1822f444894a3abf4d8decffb0b536ac11615a80..3d760750f316fe4c510f7cb055325599c18f1ced 100644 --- a/dune/xt/la/container/vector-interface.hh +++ b/dune/xt/la/container/vector-interface.hh @@ -274,7 +274,7 @@ public: { using std::abs; using std::sqrt; - return sqrt(abs(dot(this->as_imp(*this)))); // std::abs is only needed for the right return type: + return sqrt(abs(dot(this->as_imp()))); // std::abs is only needed for the right return type: // v.dot(v) should always be a ScalarType with zero imaginary part } @@ -414,7 +414,7 @@ public: virtual derived_type& operator+=(const derived_type& other) { iadd(other); - return this->as_imp(*this); + return this->as_imp(); } /** @@ -425,7 +425,7 @@ public: virtual derived_type& operator-=(const derived_type& other) { isub(other); - return this->as_imp(*this); + return this->as_imp(); } /** @@ -452,21 +452,21 @@ public: { for (auto& element : *this) element += scalar; - return this->as_imp(*this); + return this->as_imp(); } virtual derived_type& operator-=(const ScalarType& scalar) { for (auto& element : *this) element -= scalar; - return this->as_imp(*this); + return this->as_imp(); } virtual derived_type& operator/=(const ScalarType& scalar) { for (auto& element : *this) element /= scalar; - return this->as_imp(*this); + return this->as_imp(); } /**