diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h b/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h index e654a94f6..4f5f5c22b 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h @@ -76,11 +76,15 @@ private: void computeDiagonalPartOfSqrt(MatrixType& sqrtT, const MatrixType& T); void computeOffDiagonalPartOfSqrt(MatrixType& sqrtT, const MatrixType& T); - void compute2x2diagonalBlock(MatrixType& sqrtT, const MatrixType& T, Index i); - void compute1x1offDiagonalBlock(MatrixType& sqrtT, const MatrixType& T, Index i, Index j); - void compute1x2offDiagonalBlock(MatrixType& sqrtT, const MatrixType& T, Index i, Index j); - void compute2x1offDiagonalBlock(MatrixType& sqrtT, const MatrixType& T, Index i, Index j); - void compute2x2offDiagonalBlock(MatrixType& sqrtT, const MatrixType& T, Index i, Index j); + void compute2x2diagonalBlock(MatrixType& sqrtT, const MatrixType& T, typename MatrixType::Index i); + void compute1x1offDiagonalBlock(MatrixType& sqrtT, const MatrixType& T, + typename MatrixType::Index i, typename MatrixType::Index j); + void compute1x2offDiagonalBlock(MatrixType& sqrtT, const MatrixType& T, + typename MatrixType::Index i, typename MatrixType::Index j); + void compute2x1offDiagonalBlock(MatrixType& sqrtT, const MatrixType& T, + typename MatrixType::Index i, typename MatrixType::Index j); + void compute2x2offDiagonalBlock(MatrixType& sqrtT, const MatrixType& T, + typename MatrixType::Index i, typename MatrixType::Index j); template static void solveAuxiliaryEquation(SmallMatrixType& X, const SmallMatrixType& A,