diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-01-23 22:02:53 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-01-23 22:02:53 +0100 |
commit | ca79c1545aa728b756191f0cc3abd62fb7f867b8 (patch) | |
tree | d1712b8d91e28df628674d020270193d13c74a8a /Eigen/src/SparseCore | |
parent | 4b607b5692bc2e26510861f1ce85c78aaf2057ff (diff) |
Add std:: namespace prefix to all (hopefully) instances if size_t/ptrdfiff_t
Diffstat (limited to 'Eigen/src/SparseCore')
-rw-r--r-- | Eigen/src/SparseCore/SparseMatrix.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/SparseCore/SparseMatrix.h b/Eigen/src/SparseCore/SparseMatrix.h index 529c7a0ac..323c2323b 100644 --- a/Eigen/src/SparseCore/SparseMatrix.h +++ b/Eigen/src/SparseCore/SparseMatrix.h @@ -1301,11 +1301,11 @@ EIGEN_DONT_INLINE typename SparseMatrix<_Scalar,_Options,_StorageIndex>::Scalar& // starts with: [ 0 0 0 0 0 1 ...] and we are inserted in, e.g., // the 2nd inner vector... bool isLastVec = (!(previousOuter==-1 && m_data.size()!=0)) - && (size_t(m_outerIndex[outer+1]) == m_data.size()); + && (std::size_t(m_outerIndex[outer+1]) == m_data.size()); - size_t startId = m_outerIndex[outer]; - // FIXME let's make sure sizeof(long int) == sizeof(size_t) - size_t p = m_outerIndex[outer+1]; + std::size_t startId = m_outerIndex[outer]; + // FIXME let's make sure sizeof(long int) == sizeof(std::size_t) + std::size_t p = m_outerIndex[outer+1]; ++m_outerIndex[outer+1]; double reallocRatio = 1; |