aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Replicate.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2012-03-02 16:27:08 +0100
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2012-03-02 16:27:08 +0100
commit8a7d16d52304d3459a9aba2efba4113224b9e9c6 (patch)
tree3bcd5dbe15b9282ce02646f865f1869a6d88e39e /Eigen/src/Core/Replicate.h
parent553a0ae924d8307944ab8465bbe2106c449ea2d7 (diff)
Replicate ctor now uses Index instead of int.
Diffstat (limited to 'Eigen/src/Core/Replicate.h')
-rw-r--r--Eigen/src/Core/Replicate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Replicate.h b/Eigen/src/Core/Replicate.h
index 0189c4072..5dc8fccaf 100644
--- a/Eigen/src/Core/Replicate.h
+++ b/Eigen/src/Core/Replicate.h
@@ -87,7 +87,7 @@ template<typename MatrixType,int RowFactor,int ColFactor> class Replicate
}
template<typename OriginalMatrixType>
- inline Replicate(const OriginalMatrixType& matrix, int rowFactor, int colFactor)
+ inline Replicate(const OriginalMatrixType& matrix, Index rowFactor, Index colFactor)
: m_matrix(matrix), m_rowFactor(rowFactor), m_colFactor(colFactor)
{
EIGEN_STATIC_ASSERT((internal::is_same<typename internal::remove_const<MatrixType>::type,OriginalMatrixType>::value),