From ee78c611e1464d63ac6e61ba46eef99dc41d1ee4 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Thu, 17 Nov 2022 00:08:47 +0100 Subject: [PATCH] missing const --- libsrc/core/simd_sse.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];