diff --git a/upstream_utils/eigen_patches/0002-Intellisense-fix.patch b/upstream_utils/eigen_patches/0002-Intellisense-fix.patch deleted file mode 100644 index 6c369f26fdf..00000000000 --- a/upstream_utils/eigen_patches/0002-Intellisense-fix.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Peter Johnson -Date: Fri, 20 Jan 2023 23:41:56 -0800 -Subject: [PATCH 2/2] Intellisense fix - ---- - Eigen/src/Core/util/ConfigureVectorization.h | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/Eigen/src/Core/util/ConfigureVectorization.h b/Eigen/src/Core/util/ConfigureVectorization.h -index 47ddd4f8ae33405f2a6600dc33bd3d07a668e63f..d0fd181ecfdeb9a80e065b1d81e8860d6a6ad57c 100644 ---- a/Eigen/src/Core/util/ConfigureVectorization.h -+++ b/Eigen/src/Core/util/ConfigureVectorization.h -@@ -174,6 +174,13 @@ - - //---------------------------------------------------------------------- - -+// Disable vectorization in intellisense -+#ifdef __INTELLISENSE__ -+#ifndef EIGEN_DONT_VECTORIZE -+#define EIGEN_DONT_VECTORIZE -+#endif -+#endif -+ - // if alignment is disabled, then disable vectorization. Note: EIGEN_MAX_ALIGN_BYTES is the proper check, it takes into - // account both the user's will (EIGEN_MAX_ALIGN_BYTES,EIGEN_DONT_ALIGN) and our own platform checks - #if EIGEN_MAX_ALIGN_BYTES == 0 diff --git a/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/util/ConfigureVectorization.h b/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/util/ConfigureVectorization.h index d0fd181ecfd..47ddd4f8ae3 100644 --- a/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/util/ConfigureVectorization.h +++ b/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/util/ConfigureVectorization.h @@ -174,13 +174,6 @@ //---------------------------------------------------------------------- -// Disable vectorization in intellisense -#ifdef __INTELLISENSE__ -#ifndef EIGEN_DONT_VECTORIZE -#define EIGEN_DONT_VECTORIZE -#endif -#endif - // if alignment is disabled, then disable vectorization. Note: EIGEN_MAX_ALIGN_BYTES is the proper check, it takes into // account both the user's will (EIGEN_MAX_ALIGN_BYTES,EIGEN_DONT_ALIGN) and our own platform checks #if EIGEN_MAX_ALIGN_BYTES == 0