diff options
author | 2015-02-18 11:24:32 +0100 | |
---|---|---|
committer | 2015-02-18 11:24:32 +0100 | |
commit | d4eda014889541e3a22680bf236bf814a6fbc813 (patch) | |
tree | a7b013b42b6a5df7d90dc3648f2ed52eb7fed4d7 /Eigen/src/SparseCore/SparseMatrixBase.h | |
parent | 24d65ac0b0121ad70984ce1871cf2a8116b42201 (diff) |
Big 957, workaround MSVC/ICC compilation issue
Diffstat (limited to 'Eigen/src/SparseCore/SparseMatrixBase.h')
-rw-r--r-- | Eigen/src/SparseCore/SparseMatrixBase.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Eigen/src/SparseCore/SparseMatrixBase.h b/Eigen/src/SparseCore/SparseMatrixBase.h index 9039ebcec..d76dfa33d 100644 --- a/Eigen/src/SparseCore/SparseMatrixBase.h +++ b/Eigen/src/SparseCore/SparseMatrixBase.h @@ -321,8 +321,10 @@ template<typename Derived> class SparseMatrixBase : public EigenBase<Derived> const ConstInnerVectorReturnType innerVector(Index outer) const; // set of inner-vectors - Block<Derived,Dynamic,Dynamic,true> innerVectors(Index outerStart, Index outerSize); - const Block<const Derived,Dynamic,Dynamic,true> innerVectors(Index outerStart, Index outerSize) const; + typedef Block<Derived,Dynamic,Dynamic,true> InnerVectorsReturnType; + typedef Block<const Derived,Dynamic,Dynamic,true> ConstInnerVectorsReturnType; + InnerVectorsReturnType innerVectors(Index outerStart, Index outerSize); + const ConstInnerVectorsReturnType innerVectors(Index outerStart, Index outerSize) const; DenseMatrixType toDense() const { |