diff --git a/unsupported/test/kronecker_product.cpp b/unsupported/test/kronecker_product.cpp index 1a936ed25..b5b764c65 100644 --- a/unsupported/test/kronecker_product.cpp +++ b/unsupported/test/kronecker_product.cpp @@ -10,8 +10,6 @@ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -#include "main.h" - #ifdef EIGEN_TEST_PART_1 #include "sparse.h" @@ -239,6 +237,7 @@ EIGEN_DECLARE_TEST(kronecker_product) #ifdef EIGEN_TEST_PART_2 // simply check that for a dense kronecker product, sparse module is not needed +#include "main.h" #include EIGEN_DECLARE_TEST(kronecker_product)