Austin Schuh | 812d0d1 | 2021-11-04 20:16:48 -0700 | [diff] [blame] | 1 | diff --git b/wpimath/src/main/native/include/drake/common/is_approx_equal_abstol.h a/wpimath/src/main/native/include/drake/common/is_approx_equal_abstol.h |
| 2 | index 9af0c4525..b3f369ca0 100644 |
| 3 | --- b/wpimath/src/main/native/include/drake/common/is_approx_equal_abstol.h |
| 4 | +++ a/wpimath/src/main/native/include/drake/common/is_approx_equal_abstol.h |
| 5 | @@ -2,7 +2,7 @@ |
| 6 | |
| 7 | #include <vector> |
| 8 | |
| 9 | -#include <Eigen/Dense> |
| 10 | +#include <Eigen/Core> |
| 11 | |
| 12 | namespace drake { |
| 13 | |
| 14 | diff --git a/wpimath/src/main/native/cpp/drake/math/discrete_algebraic_riccati_equation.cpp b/wpimath/src/main/native/cpp/drake/math/discrete_algebraic_riccati_equation.cpp |
| 15 | index 9585c4dae..49c2fefe7 100644 |
| 16 | --- a/wpimath/src/main/native/cpp/drake/math/discrete_algebraic_riccati_equation.cpp |
| 17 | +++ b/wpimath/src/main/native/cpp/drake/math/discrete_algebraic_riccati_equation.cpp |
| 18 | @@ -1,5 +1,8 @@ |
| 19 | #include "drake/math/discrete_algebraic_riccati_equation.h" |
| 20 | |
| 21 | +#include <Eigen/Eigenvalues> |
| 22 | +#include <Eigen/QR> |
| 23 | + |
| 24 | #include "drake/common/drake_assert.h" |
| 25 | #include "drake/common/drake_throw.h" |
| 26 | #include "drake/common/is_approx_equal_abstol.h" |
| 27 | diff --git b/wpimath/src/main/native/include/drake/math/discrete_algebraic_riccati_equation.h a/wpimath/src/main/native/include/drake/math/discrete_algebraic_riccati_equation.h |
| 28 | index b64bfe75e..fc5efb313 100644 |
| 29 | --- b/wpimath/src/main/native/include/drake/math/discrete_algebraic_riccati_equation.h |
| 30 | +++ a/wpimath/src/main/native/include/drake/math/discrete_algebraic_riccati_equation.h |
| 31 | @@ -3,7 +3,7 @@ |
| 32 | #include <cmath> |
| 33 | #include <cstdlib> |
| 34 | |
| 35 | -#include <Eigen/Dense> |
| 36 | +#include <Eigen/Core> |
| 37 | |
| 38 | namespace drake { |
| 39 | namespace math { |
| 40 | |
| 41 | diff --git b/wpimath/src/test/native/cpp/drake/discrete_algebraic_riccati_equation_test.cpp a/wpimath/src/test/native/cpp/drake/discrete_algebraic_riccati_equation_test.cpp |
| 42 | index 74aa4b23d..2deb039a0 100644 |
| 43 | --- b/wpimath/src/test/native/cpp/drake/discrete_algebraic_riccati_equation_test.cpp |
| 44 | +++ a/wpimath/src/test/native/cpp/drake/discrete_algebraic_riccati_equation_test.cpp |
| 45 | @@ -1,5 +1,6 @@ |
| 46 | #include "drake/math/discrete_algebraic_riccati_equation.h" |
| 47 | |
| 48 | +#include <Eigen/Eigenvalues> |
| 49 | #include <gtest/gtest.h> |
| 50 | |
| 51 | #include "drake/common/test_utilities/eigen_matrix_compare.h" |
| 52 | diff --git b/wpimath/src/test/native/include/drake/common/test_utilities/eigen_matrix_compare.h a/wpimath/src/test/native/include/drake/common/test_utilities/eigen_matrix_compare.h |
| 53 | index e3bd85349..d6bcbb8ec 100644 |
| 54 | --- b/wpimath/src/test/native/include/drake/common/test_utilities/eigen_matrix_compare.h |
| 55 | +++ a/wpimath/src/test/native/include/drake/common/test_utilities/eigen_matrix_compare.h |
| 56 | @@ -4,7 +4,7 @@ |
| 57 | #include <cmath> |
| 58 | #include <limits> |
| 59 | |
| 60 | -#include <Eigen/Dense> |
| 61 | +#include <Eigen/Core> |
| 62 | #include <gtest/gtest.h> |
| 63 | |
| 64 | // #include "drake/common/text_logging.h" |