mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Fixed floating point warning.
Fixed evaluation of matrix_exp_computeUV.
This commit is contained in:
parent
75edc7cc8b
commit
75dab1ce5e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user