aboutsummaryrefslogtreecommitdiff
path: root/math/R-cran-RcppEigen/files/patch-inst_include_Eigen_src_Core_arch_AltiVec_Complex.h
blob: ce35095a14a5630e0fabe857999b1a921cdb49c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- inst/include/Eigen/src/Core/arch/AltiVec/Complex.h.orig	2021-08-18 20:41:58 UTC
+++ inst/include/Eigen/src/Core/arch/AltiVec/Complex.h
@@ -100,6 +100,7 @@ template<> struct packet_traits<std::complex<float> > 
     HasAbs2   = 0,
     HasMin    = 0,
     HasMax    = 0,
+    HasSqrt   = 1,
 #ifdef __VSX__
     HasBlend  = 1,
 #endif
@@ -320,6 +321,7 @@ template<> struct packet_traits<std::complex<double> >
     HasAbs2   = 0,
     HasMin    = 0,
     HasMax    = 0,
+    HasSqrt   = 1,
     HasSetLinear = 0
   };
 };