diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-05-30 16:00:58 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-05-30 16:00:58 -0400 |
commit | aaaade4b3d66d67d2c08af3372c3965e7255b2e8 (patch) | |
tree | 76dfaefb014333b2f98c6db660454771655ea8b7 /Eigen/src/Eigen2Support/Block.h | |
parent | faa3ff3be6a02b57c6cb05edc87375e54ab96606 (diff) |
the Index types change.
As discussed on the list (too long to explain here).
Diffstat (limited to 'Eigen/src/Eigen2Support/Block.h')
-rw-r--r-- | Eigen/src/Eigen2Support/Block.h | 10 |
1 files changed, 5 insertions, 5 deletions
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<typename Derived> inline Block<Derived> DenseBase<Derived> - ::corner(CornerType type, int cRows, int cCols) + ::corner(CornerType type, Index cRows, Index cCols) { switch(type) { @@ -61,10 +61,10 @@ inline Block<Derived> DenseBase<Derived> } } -/** This is the const version of corner(CornerType, int, int).*/ +/** This is the const version of corner(CornerType, Index, Index).*/ template<typename Derived> inline const Block<Derived> -DenseBase<Derived>::corner(CornerType type, int cRows, int cCols) const +DenseBase<Derived>::corner(CornerType type, Index cRows, Index cCols) const { switch(type) { @@ -91,7 +91,7 @@ DenseBase<Derived>::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<typename Derived> template<int CRows, int CCols> |