mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
bug #1596: fix inclusion of Eigen's header within unsupported modules.
This commit is contained in:
parent
72f19c827a
commit
b311bfb752
@ -40,7 +40,7 @@
|
||||
# undef realloc
|
||||
#endif
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include "../../Eigen/Core"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef EIGEN_ALIGNED_VECTOR3
|
||||
#define EIGEN_ALIGNED_VECTOR3
|
||||
|
||||
#include <Eigen/Geometry>
|
||||
#include "../../Eigen/Geometry"
|
||||
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#ifndef EIGEN_ARPACKSUPPORT_MODULE_H
|
||||
#define EIGEN_ARPACKSUPPORT_MODULE_H
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include "../../Eigen/Core"
|
||||
|
||||
/** \defgroup ArpackSupport_Module Arpack support module
|
||||
*
|
||||
@ -20,12 +20,12 @@
|
||||
* \endcode
|
||||
*/
|
||||
|
||||
#include <Eigen/SparseCholesky>
|
||||
#include "../../Eigen/SparseCholesky"
|
||||
|
||||
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
#include "src/Eigenvalues/ArpackSelfAdjointEigenSolver.h"
|
||||
|
||||
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
#endif // EIGEN_ARPACKSUPPORT_MODULE_H
|
||||
/* vim: set filetype=cpp et sw=2 ts=2 ai: */
|
||||
|
@ -10,9 +10,9 @@
|
||||
#ifndef EIGEN_BVH_MODULE_H
|
||||
#define EIGEN_BVH_MODULE_H
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/Geometry>
|
||||
#include <Eigen/StdVector>
|
||||
#include "../../Eigen/Core"
|
||||
#include "../../Eigen/Geometry"
|
||||
#include "../../Eigen/StdVector"
|
||||
#include <algorithm>
|
||||
#include <queue>
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#include "../SpecialFunctions"
|
||||
|
||||
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
|
||||
#include "../../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
#include "src/util/CXX11Meta.h"
|
||||
#include "src/util/MaxSizeVector.h"
|
||||
|
||||
@ -160,6 +160,6 @@ typedef unsigned __int64 uint64_t;
|
||||
|
||||
#include "src/Tensor/TensorIO.h"
|
||||
|
||||
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
|
||||
#include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
//#endif // EIGEN_CXX11_TENSOR_MODULE
|
||||
|
@ -10,9 +10,9 @@
|
||||
#ifndef EIGEN_CXX11_TENSORSYMMETRY_MODULE
|
||||
#define EIGEN_CXX11_TENSORSYMMETRY_MODULE
|
||||
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include "Tensor"
|
||||
|
||||
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
|
||||
#include "../../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
#include "src/util/CXX11Meta.h"
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
#include "src/TensorSymmetry/StaticSymmetry.h"
|
||||
#include "src/TensorSymmetry/DynamicSymmetry.h"
|
||||
|
||||
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
|
||||
#include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
#endif // EIGEN_CXX11_TENSORSYMMETRY_MODULE
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include "../../../Eigen/Core"
|
||||
|
||||
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
|
||||
#include "../../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
/** \defgroup CXX11_ThreadPool_Module C++11 ThreadPool Module
|
||||
*
|
||||
@ -69,6 +69,6 @@
|
||||
|
||||
#endif
|
||||
|
||||
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
|
||||
#include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
#endif // EIGEN_CXX11_THREADPOOL_MODULE
|
||||
|
@ -11,10 +11,10 @@
|
||||
#define EIGEN_EULERANGLES_MODULE_H
|
||||
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "Eigen/Geometry"
|
||||
#include "../../Eigen/Core"
|
||||
#include "../../Eigen/Geometry"
|
||||
|
||||
#include "Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
@ -38,6 +38,6 @@ namespace Eigen {
|
||||
#include "src/EulerAngles/EulerSystem.h"
|
||||
#include "src/EulerAngles/EulerAngles.h"
|
||||
|
||||
#include "Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
#endif // EIGEN_EULERANGLES_MODULE_H
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <complex>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <Eigen/Core>
|
||||
#include "../../Eigen/Core"
|
||||
|
||||
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef EIGEN_ITERATIVE_SOLVERS_MODULE_H
|
||||
#define EIGEN_ITERATIVE_SOLVERS_MODULE_H
|
||||
|
||||
#include <Eigen/Sparse>
|
||||
#include "../../Eigen/Sparse"
|
||||
#include "../../Eigen/Jacobi"
|
||||
#include "../../Eigen/Householder"
|
||||
|
||||
|
@ -12,12 +12,12 @@
|
||||
|
||||
// #include <vector>
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/Jacobi>
|
||||
#include <Eigen/QR>
|
||||
#include <unsupported/Eigen/NumericalDiff>
|
||||
#include "../../Eigen/Core"
|
||||
#include "../../Eigen/Jacobi"
|
||||
#include "../../Eigen/QR"
|
||||
#include "NumericalDiff"
|
||||
|
||||
#include <Eigen/SparseQR>
|
||||
#include "../../Eigen/SparseQR"
|
||||
|
||||
/**
|
||||
* \defgroup LevenbergMarquardt_Module Levenberg-Marquardt module
|
||||
@ -29,7 +29,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "Eigen/SparseCore"
|
||||
#include "../../Eigen/SparseCore"
|
||||
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef EIGEN_MPREALSUPPORT_MODULE_H
|
||||
#define EIGEN_MPREALSUPPORT_MODULE_H
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include "../../Eigen/Core"
|
||||
#include <mpreal.h>
|
||||
|
||||
namespace Eigen {
|
||||
|
@ -14,9 +14,9 @@
|
||||
#include <cfloat>
|
||||
#include <list>
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/LU>
|
||||
#include <Eigen/Eigenvalues>
|
||||
#include "../../Eigen/Core"
|
||||
#include "../../Eigen/LU"
|
||||
#include "../../Eigen/Eigenvalues"
|
||||
|
||||
/**
|
||||
* \defgroup MatrixFunctions_Module Matrix functions module
|
||||
|
@ -9,7 +9,7 @@
|
||||
#ifndef EIGEN_MOREVECTORIZATION_MODULE_H
|
||||
#define EIGEN_MOREVECTORIZATION_MODULE_H
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include "../../Eigen/Core"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
|
@ -12,10 +12,10 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/Jacobi>
|
||||
#include <Eigen/QR>
|
||||
#include <unsupported/Eigen/NumericalDiff>
|
||||
#include "../../Eigen/Core"
|
||||
#include "../../Eigen/Jacobi"
|
||||
#include "../../Eigen/QR"
|
||||
#include "NumericalDiff"
|
||||
|
||||
/**
|
||||
* \defgroup NonLinearOptimization_Module Non linear optimization module
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef EIGEN_NUMERICALDIFF_MODULE
|
||||
#define EIGEN_NUMERICALDIFF_MODULE
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include "../../Eigen/Core"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef EIGEN_OPENGL_MODULE
|
||||
#define EIGEN_OPENGL_MODULE
|
||||
|
||||
#include <Eigen/Geometry>
|
||||
#include "../../Eigen/Geometry"
|
||||
|
||||
#if defined(__APPLE_CC__)
|
||||
#include <OpenGL/gl.h>
|
||||
|
@ -9,11 +9,11 @@
|
||||
#ifndef EIGEN_POLYNOMIALS_MODULE_H
|
||||
#define EIGEN_POLYNOMIALS_MODULE_H
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include "../../Eigen/Core"
|
||||
|
||||
#include <Eigen/Eigenvalues>
|
||||
#include "../../Eigen/Eigenvalues"
|
||||
|
||||
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
// Note that EIGEN_HIDE_HEAVY_CODE has to be defined per module
|
||||
#if (defined EIGEN_EXTERN_INSTANTIATIONS) && (EIGEN_EXTERN_INSTANTIATIONS>=2)
|
||||
@ -132,7 +132,7 @@
|
||||
Output: \verbinclude PolynomialSolver1.out
|
||||
*/
|
||||
|
||||
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
#endif // EIGEN_POLYNOMIALS_MODULE_H
|
||||
/* vim: set filetype=cpp et sw=2 ts=2 ai: */
|
||||
|
@ -10,9 +10,9 @@
|
||||
#define EIGEN_SKYLINE_MODULE_H
|
||||
|
||||
|
||||
#include "Eigen/Core"
|
||||
#include "../../Eigen/Core"
|
||||
|
||||
#include "Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
#include <map>
|
||||
#include <cstdlib>
|
||||
@ -34,6 +34,6 @@
|
||||
#include "src/Skyline/SkylineInplaceLU.h"
|
||||
#include "src/Skyline/SkylineProduct.h"
|
||||
|
||||
#include "Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
#endif // EIGEN_SKYLINE_MODULE_H
|
||||
|
@ -25,7 +25,7 @@
|
||||
#ifndef EIGEN_ARPACKGENERALIZEDSELFADJOINTEIGENSOLVER_H
|
||||
#define EIGEN_ARPACKGENERALIZEDSELFADJOINTEIGENSOLVER_H
|
||||
|
||||
#include <Eigen/Dense>
|
||||
#include "../../../../Eigen/Dense"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
#ifndef EIGEN_CONSTRAINEDCG_H
|
||||
#define EIGEN_CONSTRAINEDCG_H
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include "../../../../Eigen/Core"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef EIGEN_DGMRES_H
|
||||
#define EIGEN_DGMRES_H
|
||||
|
||||
#include <Eigen/Eigenvalues>
|
||||
#include "../../../../Eigen/Eigenvalues"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
#include "SplineFwd.h"
|
||||
|
||||
#include <Eigen/LU>
|
||||
#include <Eigen/QR>
|
||||
#include "../../../../Eigen/LU"
|
||||
#include "../../../../Eigen/QR"
|
||||
|
||||
namespace Eigen
|
||||
{
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef EIGEN_SPLINES_FWD_H
|
||||
#define EIGEN_SPLINES_FWD_H
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include "../../../../Eigen/Core"
|
||||
|
||||
namespace Eigen
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user