diff --git a/libsrc/core/simd_sse.hpp b/libsrc/core/simd_sse.hpp index 08576b2c..a836ca49 100644 --- a/libsrc/core/simd_sse.hpp +++ b/libsrc/core/simd_sse.hpp @@ -141,7 +141,7 @@ NETGEN_INLINE SIMD operator- (SIMD a, SIMD b) { NETGEN_INLINE __m128d & Data() { return data; } template - double Get() + double Get() const { static_assert(I>=0 && I<2, "Index out of range"); return (*this)[I];