-fix certain #includes

-fix CMakeLists, public headers weren't getting installed
This commit is contained in:
Benoit Jacob 2008-05-12 21:15:17 +00:00
parent 4317fad869
commit 3eccfd1a78
5 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
FILE(GLOB Eigen_SRCS "*.h") SET(Eigen_SRCS Core CoreDeclarations LU Cholesky QR)
SET(INCLUDE_INSTALL_DIR SET(INCLUDE_INSTALL_DIR
"${CMAKE_INSTALL_PREFIX}/include/eigen2" "${CMAKE_INSTALL_PREFIX}/include/eigen2"

View File

@ -5,8 +5,8 @@
namespace Eigen { namespace Eigen {
#include "Eigen/src/Cholesky/Cholesky.h" #include "src/Cholesky/Cholesky.h"
#include "Eigen/src/Cholesky/CholeskyWithoutSquareRoot.h" #include "src/Cholesky/CholeskyWithoutSquareRoot.h"
} // namespace Eigen } // namespace Eigen

View File

@ -5,8 +5,8 @@
namespace Eigen { namespace Eigen {
#include "Eigen/src/LU/Determinant.h" #include "src/LU/Determinant.h"
#include "Eigen/src/LU/Inverse.h" #include "src/LU/Inverse.h"
} // namespace Eigen } // namespace Eigen

View File

@ -5,8 +5,8 @@
namespace Eigen { namespace Eigen {
#include "Eigen/src/QR/QR.h" #include "src/QR/QR.h"
#include "Eigen/src/QR/EigenSolver.h" #include "src/QR/EigenSolver.h"
} // namespace Eigen } // namespace Eigen

View File

@ -46,10 +46,10 @@ inline int ei_log(int) { ei_assert(false); return 0; }
inline int ei_sin(int) { ei_assert(false); return 0; } inline int ei_sin(int) { ei_assert(false); return 0; }
inline int ei_cos(int) { ei_assert(false); return 0; } inline int ei_cos(int) { ei_assert(false); return 0; }
#if (!(EIGEN_GNUC_AT_LEAST(4,3))) #if EIGEN_GNUC_AT_LEAST(4,3)
inline int ei_pow(int x, int y) { return int(std::pow(double(x), y)); }
#else
inline int ei_pow(int x, int y) { return std::pow(x, y); } inline int ei_pow(int x, int y) { return std::pow(x, y); }
#else
inline int ei_pow(int x, int y) { return int(std::pow(double(x), y)); }
#endif #endif
template<> inline int ei_random(int a, int b) template<> inline int ei_random(int a, int b)