mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-03 06:50:57 +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
|
||||
|
||||
matrix_exp_computeUV<MatrixType, double>(arg, U, V, squarings);
|
||||
matrix_exp_computeUV<MatrixType, double>::run(arg, U, V, squarings);
|
||||
|
||||
#else
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user