From aaaade4b3d66d67d2c08af3372c3965e7255b2e8 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sun, 30 May 2010 16:00:58 -0400 Subject: the Index types change. As discussed on the list (too long to explain here). --- Eigen/src/Eigen2Support/Block.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Eigen/src/Eigen2Support/Block.h') diff --git a/Eigen/src/Eigen2Support/Block.h b/Eigen/src/Eigen2Support/Block.h index eb17a27ab..c5e1a9cca 100644 --- a/Eigen/src/Eigen2Support/Block.h +++ b/Eigen/src/Eigen2Support/Block.h @@ -40,11 +40,11 @@ * when it is applied to a fixed-size matrix, it inherits a fixed maximal size, * which means that evaluating it does not cause a dynamic memory allocation. * - * \sa class Block, block(int,int,int,int) + * \sa class Block, block(Index,Index,Index,Index) */ template inline Block DenseBase - ::corner(CornerType type, int cRows, int cCols) + ::corner(CornerType type, Index cRows, Index cCols) { switch(type) { @@ -61,10 +61,10 @@ inline Block DenseBase } } -/** This is the const version of corner(CornerType, int, int).*/ +/** This is the const version of corner(CornerType, Index, Index).*/ template inline const Block -DenseBase::corner(CornerType type, int cRows, int cCols) const +DenseBase::corner(CornerType type, Index cRows, Index cCols) const { switch(type) { @@ -91,7 +91,7 @@ DenseBase::corner(CornerType type, int cRows, int cCols) const * Example: \include MatrixBase_template_int_int_corner_enum.cpp * Output: \verbinclude MatrixBase_template_int_int_corner_enum.out * - * \sa class Block, block(int,int,int,int) + * \sa class Block, block(Index,Index,Index,Index) */ template template -- cgit v1.2.3