Fixed floating point warning.

Fixed evaluation of matrix_exp_computeUV.
This commit is contained in:
Hauke Heibel 2013-07-26 15:13:54 +02:00
parent 75edc7cc8b
commit 75dab1ce5e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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