diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-12-22 17:45:37 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-12-22 17:45:37 -0500 |
commit | 75b7d98665dd144c44d7a113c6613f5f998be626 (patch) | |
tree | bc75d316e2ed8e679e744bc34f159dcb0f285243 /unsupported | |
parent | 3b6d97b51a7e7a4b0c69ae6be44b1c16d72c2e80 (diff) |
bug #54 - really fix const correctness except in Sparse
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h b/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h index a4aa9baa7..4b9d8a102 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h @@ -163,7 +163,7 @@ class MatrixFunction<MatrixType, 1> void permuteSchur(); void swapEntriesInSchur(Index index); void computeBlockAtomic(); - Block<MatrixType> block(const MatrixType& A, Index i, Index j); + Block<MatrixType> block(MatrixType& A, Index i, Index j); void computeOffDiagonal(); DynMatrixType solveTriangularSylvester(const DynMatrixType& A, const DynMatrixType& B, const DynMatrixType& C); @@ -385,7 +385,7 @@ void MatrixFunction<MatrixType,1>::computeBlockAtomic() /** \brief Return block of matrix according to blocking given by #m_blockStart */ template <typename MatrixType> -Block<MatrixType> MatrixFunction<MatrixType,1>::block(const MatrixType& A, Index i, Index j) +Block<MatrixType> MatrixFunction<MatrixType,1>::block(MatrixType& A, Index i, Index j) { return A.block(m_blockStart(i), m_blockStart(j), m_clusterSize(i), m_clusterSize(j)); } |