missed Lo/Hi in SIMD<double,2>

This commit is contained in:
Joachim Schoeberl 2022-11-17 00:03:17 +01:00
parent 587843fded
commit 71ef65cc86

View File

@ -147,6 +147,9 @@ NETGEN_INLINE SIMD<int64_t,2> operator- (SIMD<int64_t,2> a, SIMD<int64_t,2> b) {
return (*this)[I];
}
double Lo() const { return Get<0>(); }
double Hi() const { return Get<1>(); }
operator std::tuple<double&,double&> ()
{
auto pdata = (double*)&data;