mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-24 03:40:34 +05:00
missed Lo/Hi in SIMD<double,2>
This commit is contained in:
parent
587843fded
commit
71ef65cc86
@ -147,6 +147,9 @@ NETGEN_INLINE SIMD<int64_t,2> operator- (SIMD<int64_t,2> a, SIMD<int64_t,2> b) {
|
|||||||
return (*this)[I];
|
return (*this)[I];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
double Lo() const { return Get<0>(); }
|
||||||
|
double Hi() const { return Get<1>(); }
|
||||||
|
|
||||||
operator std::tuple<double&,double&> ()
|
operator std::tuple<double&,double&> ()
|
||||||
{
|
{
|
||||||
auto pdata = (double*)&data;
|
auto pdata = (double*)&data;
|
||||||
|
Loading…
Reference in New Issue
Block a user