From c08ceec043948bd960c96a1a0421608fa6b1971c Mon Sep 17 00:00:00 2001 From: Giulio Romualdi Date: Thu, 14 May 2020 13:36:13 +0200 Subject: [PATCH] Add missing include in MPCUpdateMatricesTest.cpp --- tests/CMakeLists.txt | 3 ++- tests/MPCUpdateMatricesTest.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d8d9bcc..bf4c107 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -25,4 +25,5 @@ add_osqpeigen_test( add_osqpeigen_test( NAME MPCUpdateMatrices SOURCES MPCUpdateMatricesTest.cpp - LINKS OsqpEigen::OsqpEigen Eigen3::Eigen) + LINKS OsqpEigen::OsqpEigen Eigen3::Eigen + COMPILE_DEFINITIONS _USE_MATH_DEFINES) diff --git a/tests/MPCUpdateMatricesTest.cpp b/tests/MPCUpdateMatricesTest.cpp index 1b79755..248f19b 100644 --- a/tests/MPCUpdateMatricesTest.cpp +++ b/tests/MPCUpdateMatricesTest.cpp @@ -14,6 +14,7 @@ // eigen #include +#include #include #include