aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2013-07-26 15:13:54 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2013-07-26 15:13:54 +0200
commit75dab1ce5e31d942edce1fabb28cc07685736dbd (patch)
tree1bac7a0c10d298ec231140c2ce86067184ccbc30 /unsupported
parent75edc7cc8bcc1bdf5a3defddc2f751062ec49ec1 (diff)
Fixed floating point warning.
Fixed evaluation of matrix_exp_computeUV.
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h2
-rw-r--r--unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
index 54f07b27c..d67ded7ba 100644
--- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
+++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
@@ -258,7 +258,7 @@ struct matrix_exp_computeUV<MatrixType, long double>
{
#if LDBL_MANT_DIG == 53 // double precision
- matrix_exp_computeUV<MatrixType, double>(arg, U, V, squarings);
+ matrix_exp_computeUV<MatrixType, double>::run(arg, U, V, squarings);
#else
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h b/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h
index 12e28793d..a948f2347 100644
--- a/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h
+++ b/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h
@@ -18,7 +18,7 @@ namespace Eigen {
namespace internal {
/** \brief Maximum distance allowed between eigenvalues to be considered "close". */
-static const float matrix_function_separation = 0.1;
+static const float matrix_function_separation = 0.1f;
/** \ingroup MatrixFunctions_Module
* \class MatrixFunctionAtomic