summarylogtreecommitdiffstats
path: root/Suppress-Eigen-warning.patch
blob: dc450512e2814c4831aad8bedc9e3a811cd20f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/wpimath/src/main/native/include/frc/controller/LinearPlantInversionFeedforward.h b/wpimath/src/main/native/include/frc/controller/LinearPlantInversionFeedforward.h
index d4cc3c426..bbf9a30a1 100644
--- a/wpimath/src/main/native/include/frc/controller/LinearPlantInversionFeedforward.h
+++ b/wpimath/src/main/native/include/frc/controller/LinearPlantInversionFeedforward.h
@@ -7,7 +7,10 @@
 #include <array>
 #include <functional>
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Warray-bounds"
 #include "Eigen/QR"
+#pragma GCC diagnostic pop
 #include "frc/EigenCore.h"
 #include "frc/system/Discretization.h"
 #include "frc/system/LinearSystem.h"