aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/MatrixFunctions
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-02-26 13:21:44 +0000
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-02-26 13:21:44 +0000
commit2cd32cad2782c467316297cec1a2b0ddff89c686 (patch)
tree57880430ecd2fe98f1a44fe058da60043a2056bd /unsupported/Eigen/src/MatrixFunctions
parentd9d05dd96eca8800e16fc848b66a31d33f143478 (diff)
Reverted previous commit since it caused more problems than it solved
Diffstat (limited to 'unsupported/Eigen/src/MatrixFunctions')
-rw-r--r--unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
index 68456f579..bbb7e5776 100644
--- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
+++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
@@ -257,8 +257,7 @@ struct matrix_exp_computeUV<MatrixType, long double>
static void run(const MatrixType& arg, MatrixType& U, MatrixType& V, int& squarings)
{
#if LDBL_MANT_DIG == 53 // double precision
-
- matrix_exp_computeUV<MatrixType, double>::run(arg.cast<double>(), U.cast<double(), V.cast<doble>(), squarings);
+ matrix_exp_computeUV<MatrixType, double>::run(arg, U, V, squarings);
#else