Get rid of include directives inside namespace blocks (bug #339).

This commit is contained in:
Jitse Niesen
2012-04-15 11:06:28 +01:00
parent 84c93b048e
commit 3c412183b2
280 changed files with 1006 additions and 179 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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