diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2012-04-15 11:06:28 +0100 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2012-04-15 11:06:28 +0100 |
commit | 3c412183b2d4a131239275f440d15677cc5649b0 (patch) | |
tree | 42784a65d3ad0cc4fb912032ecdf9059aad5eb7a /unsupported/Eigen/src/SparseExtra | |
parent | 84c93b048ecab7c22291503e68c47b6e3264fbb0 (diff) |
Get rid of include directives inside namespace blocks (bug #339).
Diffstat (limited to 'unsupported/Eigen/src/SparseExtra')
4 files changed, 16 insertions, 0 deletions
diff --git a/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h b/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h index 753643736..0cc6e3a06 100644 --- a/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +++ b/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h @@ -25,6 +25,7 @@ #ifndef EIGEN_SPARSE_BLOCKFORDYNAMICMATRIX_H #define EIGEN_SPARSE_BLOCKFORDYNAMICMATRIX_H +namespace Eigen { /*************************************************************************** * specialisation for DynamicSparseMatrix @@ -123,5 +124,6 @@ class SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options, _Index>, Size> }; +} // end namespace Eigen #endif // EIGEN_SPARSE_BLOCKFORDYNAMICMATRIX_H diff --git a/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h b/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h index d43149a8f..151d46538 100644 --- a/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +++ b/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h @@ -25,6 +25,8 @@ #ifndef EIGEN_DYNAMIC_SPARSEMATRIX_H #define EIGEN_DYNAMIC_SPARSEMATRIX_H +namespace Eigen { + /** \deprecated use a SparseMatrix in an uncompressed mode * * \class DynamicSparseMatrix @@ -365,4 +367,6 @@ class DynamicSparseMatrix<Scalar,_Options,_Index>::ReverseInnerIterator : public const Index m_outer; }; +} // end namespace Eigen + #endif // EIGEN_DYNAMIC_SPARSEMATRIX_H diff --git a/unsupported/Eigen/src/SparseExtra/MarketIO.h b/unsupported/Eigen/src/SparseExtra/MarketIO.h index 3b103914a..d034d8e2f 100644 --- a/unsupported/Eigen/src/SparseExtra/MarketIO.h +++ b/unsupported/Eigen/src/SparseExtra/MarketIO.h @@ -25,6 +25,9 @@ #ifndef EIGEN_SPARSE_MARKET_IO_H #define EIGEN_SPARSE_MARKET_IO_H + +namespace Eigen { + namespace internal { template <typename Scalar> @@ -274,4 +277,7 @@ bool saveMarketVector (const VectorType& vec, const std::string& filename) out.close(); return true; } + +} // end namespace Eigen + #endif // EIGEN_SPARSE_MARKET_IO_H diff --git a/unsupported/Eigen/src/SparseExtra/RandomSetter.h b/unsupported/Eigen/src/SparseExtra/RandomSetter.h index b4e6afbe6..9328c60cf 100644 --- a/unsupported/Eigen/src/SparseExtra/RandomSetter.h +++ b/unsupported/Eigen/src/SparseExtra/RandomSetter.h @@ -25,6 +25,8 @@ #ifndef EIGEN_RANDOMSETTER_H #define EIGEN_RANDOMSETTER_H +namespace Eigen { + /** Represents a std::map * * \see RandomSetter @@ -335,4 +337,6 @@ class RandomSetter unsigned char m_keyBitsOffset; }; +} // end namespace Eigen + #endif // EIGEN_RANDOMSETTER_H |