mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Get rid of include directives inside namespace blocks (bug #339).
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_MISC_IMAGE_H
|
||||
#define EIGEN_MISC_IMAGE_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
/** \class image_retval_base
|
||||
@@ -92,4 +94,6 @@ template<typename _DecompositionType> struct image_retval_base
|
||||
image_retval(const DecompositionType& dec, const MatrixType& originalMatrix) \
|
||||
: Base(dec, originalMatrix) {}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MISC_IMAGE_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_MISC_KERNEL_H
|
||||
#define EIGEN_MISC_KERNEL_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
/** \class kernel_retval_base
|
||||
@@ -89,4 +91,6 @@ template<typename _DecompositionType> struct kernel_retval_base
|
||||
using Base::cols; \
|
||||
kernel_retval(const DecompositionType& dec) : Base(dec) {}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MISC_KERNEL_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_MISC_SOLVE_H
|
||||
#define EIGEN_MISC_SOLVE_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
/** \class solve_retval_base
|
||||
@@ -84,4 +86,6 @@ template<typename _DecompositionType, typename Rhs> struct solve_retval_base
|
||||
solve_retval(const DecompositionType& dec, const Rhs& rhs) \
|
||||
: Base(dec, rhs) {}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MISC_SOLVE_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_SPARSE_SOLVE_H
|
||||
#define EIGEN_SPARSE_SOLVE_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
template<typename _DecompositionType, typename Rhs> struct sparse_solve_retval_base;
|
||||
@@ -119,4 +121,6 @@ template<typename DecompositionType, typename Rhs, typename Guess> struct solve_
|
||||
|
||||
} // namepsace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_SPARSE_SOLVE_H
|
||||
|
||||
Reference in New Issue
Block a user