mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
don't enclose eigen in a namespace. prefixing is the way to go.
For example Qt uses a prefix and no namespace (except for a few things)
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
#ifndef EIGEN_BLOCK_H
|
||||
#define EIGEN_BLOCK_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
template<typename MatrixType> class MatrixBlock
|
||||
: public EigenBase<typename MatrixType::Scalar, MatrixBlock<MatrixType> >
|
||||
{
|
||||
@@ -83,6 +81,4 @@ EigenBase<Scalar, Derived>::block(int startRow, int endRow, int startCol, int en
|
||||
return MatrixBlock<EigenBase>(ref(), startRow, endRow, startCol, endCol);
|
||||
}
|
||||
|
||||
} // namespace Eigen
|
||||
|
||||
#endif // EIGEN_BLOCK_H
|
||||
|
||||
Reference in New Issue
Block a user