mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Issue an error in case of direct inclusion of internal headers.
This commit is contained in:
3
Eigen/src/PardisoSupport/InternalHeaderCheck.h
Normal file
3
Eigen/src/PardisoSupport/InternalHeaderCheck.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#ifndef EIGEN_PARDISOSUPPORT_MODULE_H
|
||||
#error "Please include Eigen/PardisoSupport instead of including headers inside the src directory directly."
|
||||
#endif
|
||||
@@ -32,6 +32,8 @@
|
||||
#ifndef EIGEN_PARDISOSUPPORT_H
|
||||
#define EIGEN_PARDISOSUPPORT_H
|
||||
|
||||
#include "./InternalHeaderCheck.h"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
template<typename MatrixType_> class PardisoLU;
|
||||
|
||||
Reference in New Issue
Block a user