mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-24 03:40:34 +05:00
missing const
This commit is contained in:
parent
71ef65cc86
commit
ee78c611e1
@ -141,7 +141,7 @@ NETGEN_INLINE SIMD<int64_t,2> operator- (SIMD<int64_t,2> a, SIMD<int64_t,2> b) {
|
|||||||
NETGEN_INLINE __m128d & Data() { return data; }
|
NETGEN_INLINE __m128d & Data() { return data; }
|
||||||
|
|
||||||
template <int I>
|
template <int I>
|
||||||
double Get()
|
double Get() const
|
||||||
{
|
{
|
||||||
static_assert(I>=0 && I<2, "Index out of range");
|
static_assert(I>=0 && I<2, "Index out of range");
|
||||||
return (*this)[I];
|
return (*this)[I];
|
||||||
|
Loading…
Reference in New Issue
Block a user