aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Assign_MKL.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/Assign_MKL.h')
-rw-r--r--Eigen/src/Core/Assign_MKL.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/Assign_MKL.h b/Eigen/src/Core/Assign_MKL.h
index f96b0eb22..428c6367b 100644
--- a/Eigen/src/Core/Assign_MKL.h
+++ b/Eigen/src/Core/Assign_MKL.h
@@ -209,10 +209,13 @@ EIGEN_MKL_VML_DECLARE_UNARY_CALLS_LA(sqrt, Sqrt)
EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(square, Sqr)
+// The vm*powx functions are not avaibale in the windows version of MKL.
+#ifdef _WIN32
EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmspowx_, float, float)
EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmdpowx_, double, double)
EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmcpowx_, scomplex, MKL_Complex8)
EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmzpowx_, dcomplex, MKL_Complex16)
+#endif
} // end namespace internal