From dbf3af866e659b88d8bcbd0ab31fdbd30c731b62 Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Thu, 21 Jan 2010 12:31:03 +0000 Subject: [PATCH] Remove some Array #includes. --- Eigen/Eigen2Support | 2 -- doc/snippets/compile_snippet.cpp.in | 1 - test/array.cpp | 1 - test/array_for_matrix.cpp | 1 - test/array_replicate.cpp | 1 - test/conservative_resize.cpp | 1 - test/cwiseop.cpp | 1 - test/main.h | 1 - test/nullary.cpp | 1 - test/product.h | 1 - test/product_extra.cpp | 1 - test/product_notemporary.cpp | 1 - test/umeyama.cpp | 1 - unsupported/Eigen/MatrixFunctions | 1 - 14 files changed, 15 deletions(-) diff --git a/Eigen/Eigen2Support b/Eigen/Eigen2Support index ccba4ff30..9e3bff68f 100644 --- a/Eigen/Eigen2Support +++ b/Eigen/Eigen2Support @@ -25,8 +25,6 @@ #ifndef EIGEN2SUPPORT_H #define EIGEN2SUPPORT_H -#include "Array" - #if (!defined(EIGEN2_SUPPORT)) || (!defined(EIGEN_CORE_H)) #error Eigen2 support must be enabled by defining EIGEN2_SUPPORT before any other Eigen header #endif diff --git a/doc/snippets/compile_snippet.cpp.in b/doc/snippets/compile_snippet.cpp.in index 3bea1ac8d..b0bcb62e9 100644 --- a/doc/snippets/compile_snippet.cpp.in +++ b/doc/snippets/compile_snippet.cpp.in @@ -1,5 +1,4 @@ #include -#include #include #include #include diff --git a/test/array.cpp b/test/array.cpp index 05b37895e..8a71b4020 100644 --- a/test/array.cpp +++ b/test/array.cpp @@ -23,7 +23,6 @@ // Eigen. If not, see . #include "main.h" -#include template void array(const MatrixType& m) { diff --git a/test/array_for_matrix.cpp b/test/array_for_matrix.cpp index deb73889c..516c040f2 100644 --- a/test/array_for_matrix.cpp +++ b/test/array_for_matrix.cpp @@ -23,7 +23,6 @@ // Eigen. If not, see . #include "main.h" -#include template void array_for_matrix(const MatrixType& m) { diff --git a/test/array_replicate.cpp b/test/array_replicate.cpp index a23ac7c6f..8c4845d3c 100644 --- a/test/array_replicate.cpp +++ b/test/array_replicate.cpp @@ -23,7 +23,6 @@ // Eigen. If not, see . #include "main.h" -#include template void replicate(const MatrixType& m) { diff --git a/test/conservative_resize.cpp b/test/conservative_resize.cpp index a7b1f78ff..825f23b37 100644 --- a/test/conservative_resize.cpp +++ b/test/conservative_resize.cpp @@ -25,7 +25,6 @@ #include "main.h" #include -#include using namespace Eigen; diff --git a/test/cwiseop.cpp b/test/cwiseop.cpp index f5e825d39..8b9da8fdc 100644 --- a/test/cwiseop.cpp +++ b/test/cwiseop.cpp @@ -26,7 +26,6 @@ #define EIGEN2_SUPPORT #include "main.h" #include -#include using namespace std; diff --git a/test/main.h b/test/main.h index 06c17a9ae..64f70b394 100644 --- a/test/main.h +++ b/test/main.h @@ -148,7 +148,6 @@ namespace Eigen #define EIGEN_INTERNAL_DEBUGGING #define EIGEN_NICE_RANDOM -#include #include // required for createRandomMatrixOfRank diff --git a/test/nullary.cpp b/test/nullary.cpp index e0b8336c4..a7f6c60a7 100644 --- a/test/nullary.cpp +++ b/test/nullary.cpp @@ -23,7 +23,6 @@ // Eigen. If not, see . #include "main.h" -#include template bool equalsIdentity(const MatrixType& A) diff --git a/test/product.h b/test/product.h index c389c33ed..85afbe1e4 100644 --- a/test/product.h +++ b/test/product.h @@ -23,7 +23,6 @@ // Eigen. If not, see . #include "main.h" -#include #include template diff --git a/test/product_extra.cpp b/test/product_extra.cpp index e4c853461..cdef361d6 100644 --- a/test/product_extra.cpp +++ b/test/product_extra.cpp @@ -23,7 +23,6 @@ // Eigen. If not, see . #include "main.h" -#include template void product_extra(const MatrixType& m) { diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp index 1da91e5d7..b8bc3acc3 100644 --- a/test/product_notemporary.cpp +++ b/test/product_notemporary.cpp @@ -30,7 +30,6 @@ static int nb_temporaries; } #include "main.h" -#include #define VERIFY_EVALUATION_COUNT(XPR,N) {\ nb_temporaries = 0; \ diff --git a/test/umeyama.cpp b/test/umeyama.cpp index 75dd64b5c..6c710bc88 100644 --- a/test/umeyama.cpp +++ b/test/umeyama.cpp @@ -25,7 +25,6 @@ #include "main.h" #include -#include #include #include // required for MatrixBase::determinant diff --git a/unsupported/Eigen/MatrixFunctions b/unsupported/Eigen/MatrixFunctions index 91790c8d2..292357fda 100644 --- a/unsupported/Eigen/MatrixFunctions +++ b/unsupported/Eigen/MatrixFunctions @@ -30,7 +30,6 @@ #include #include -#include #include #include