From c5019f722bc76537ec56947e75fc4169deceffcd Mon Sep 17 00:00:00 2001 From: Michael Tesch Date: Wed, 8 May 2019 17:04:55 +0200 Subject: Use pade for matrix exponential also for complex values. --- unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/src') diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h index 77cbedcc2..02284b0dd 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h @@ -411,7 +411,7 @@ template struct MatrixExponentialReturnValue inline void evalTo(ResultType& result) const { const typename internal::nested_eval::type tmp(m_src); - internal::matrix_exp_compute(tmp, result, internal::is_exp_known_type()); + internal::matrix_exp_compute(tmp, result, internal::is_exp_known_type()); } Index rows() const { return m_src.rows(); } -- cgit v1.2.3