aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Core
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2019-09-06 09:26:04 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2019-09-06 09:26:04 +0200
commit17226100c5e56d1c6064560390a4a6e16677bb45 (patch)
tree889d7e577cf4f7a9d88385648a17afe7c76b5ca4 /Eigen/Core
parent55b63d4ea3a44c7732973f927bb3ac048a05f1d8 (diff)
Fix a circular dependency regarding pshift* functions and GenericPacketMathFunctions.
Another solution would have been to make pshift* fully generic template functions with partial specialization which is always a mess in c++03.
Diffstat (limited to 'Eigen/Core')
-rw-r--r--Eigen/Core6
1 files changed, 4 insertions, 2 deletions
diff --git a/Eigen/Core b/Eigen/Core
index e3d03f674..bb8ad464d 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -163,8 +163,7 @@ using std::ptrdiff_t;
// Generic half float support
#include "src/Core/arch/Default/Half.h"
#include "src/Core/arch/Default/TypeCasting.h"
-// This file provides generic implementations valid for scalar as well
-#include "src/Core/arch/Default/GenericPacketMathFunctions.h"
+#include "src/Core/arch/Default/GenericPacketMathFunctionsFwd.h"
#if defined EIGEN_VECTORIZE_AVX512
#include "src/Core/arch/SSE/PacketMath.h"
@@ -228,7 +227,10 @@ using std::ptrdiff_t;
#include "src/Core/arch/SYCL/TypeCasting.h"
#endif
#endif
+
#include "src/Core/arch/Default/Settings.h"
+// This file provides generic implementations valid for scalar as well
+#include "src/Core/arch/Default/GenericPacketMathFunctions.h"
#include "src/Core/functors/TernaryFunctors.h"
#include "src/Core/functors/BinaryFunctors.h"