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

@@ -11,6 +11,8 @@
#ifndef EIGEN_SPARSEBLOCKMATRIX_H
#define EIGEN_SPARSEBLOCKMATRIX_H
#include "./InternalHeaderCheck.h"
namespace Eigen {
/** \ingroup SparseCore_Module
*

View File

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

View File

@@ -14,6 +14,8 @@
#include <iostream>
#include <vector>
#include "./InternalHeaderCheck.h"
namespace Eigen {
namespace internal

View File

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

View File

@@ -16,6 +16,8 @@
namespace google {}
#endif
#include "./InternalHeaderCheck.h"
namespace Eigen {
/** Represents a std::map