aboutsummaryrefslogtreecommitdiff
path: root/math/R-cran-RcppEigen/files/patch-inst_include_Eigen_src_Core_arch_AltiVec_Complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/R-cran-RcppEigen/files/patch-inst_include_Eigen_src_Core_arch_AltiVec_Complex.h')
-rw-r--r--math/R-cran-RcppEigen/files/patch-inst_include_Eigen_src_Core_arch_AltiVec_Complex.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/math/R-cran-RcppEigen/files/patch-inst_include_Eigen_src_Core_arch_AltiVec_Complex.h b/math/R-cran-RcppEigen/files/patch-inst_include_Eigen_src_Core_arch_AltiVec_Complex.h
new file mode 100644
index 000000000000..ce35095a14a5
--- /dev/null
+++ b/math/R-cran-RcppEigen/files/patch-inst_include_Eigen_src_Core_arch_AltiVec_Complex.h
@@ -0,0 +1,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
+ };
+ };