mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed floating point warning.
Fixed evaluation of matrix_exp_computeUV.
This commit is contained in:
@@ -258,7 +258,7 @@ struct matrix_exp_computeUV<MatrixType, long double>
|
|||||||
{
|
{
|
||||||
#if LDBL_MANT_DIG == 53 // double precision
|
#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
|
#else
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace Eigen {
|
|||||||
namespace internal {
|
namespace internal {
|
||||||
|
|
||||||
/** \brief Maximum distance allowed between eigenvalues to be considered "close". */
|
/** \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
|
/** \ingroup MatrixFunctions_Module
|
||||||
* \class MatrixFunctionAtomic
|
* \class MatrixFunctionAtomic
|
||||||
|
|||||||
Reference in New Issue
Block a user