Issue an error in case of direct inclusion of internal headers.

This commit is contained in:
Rasmus Munk Larsen
2021-09-10 19:12:26 +00:00
parent 36402e281d
commit d7d0bf832d
494 changed files with 1050 additions and 52 deletions

View File

@@ -27,6 +27,8 @@
#define eigen_internal_assert(X) assert(X);
#endif
#include "./InternalHeaderCheck.h"
namespace Eigen {
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE

View File

@@ -0,0 +1,3 @@
#ifndef EIGEN_SVD_MODULE_H
#error "Please include Eigen/SVD instead of including headers inside the src directory directly."
#endif

View File

@@ -11,6 +11,8 @@
#ifndef EIGEN_JACOBISVD_H
#define EIGEN_JACOBISVD_H
#include "./InternalHeaderCheck.h"
namespace Eigen {
namespace internal {

View File

@@ -33,6 +33,8 @@
#ifndef EIGEN_JACOBISVD_LAPACKE_H
#define EIGEN_JACOBISVD_LAPACKE_H
#include "./InternalHeaderCheck.h"
namespace Eigen {
/** \internal Specialization for the data types supported by LAPACKe */

View File

@@ -16,6 +16,8 @@
#ifndef EIGEN_SVDBASE_H
#define EIGEN_SVDBASE_H
#include "./InternalHeaderCheck.h"
namespace Eigen {
namespace internal {

View File

@@ -11,6 +11,8 @@
#ifndef EIGEN_BIDIAGONALIZATION_H
#define EIGEN_BIDIAGONALIZATION_H
#include "./InternalHeaderCheck.h"
namespace Eigen {
namespace internal {