Change MatrixFunction::separation() parameter from 0.01 to 0.1 .

The latter is actually the value used in the literature.
This commit is contained in:
Jitse Niesen 2010-02-20 16:27:04 +00:00
parent 67ce07ea83
commit 4e389b195d

View File

@ -178,9 +178,9 @@ class MatrixFunction<MatrixType, 1>
*
* This is morally a \c static \c const \c Scalar, but only
* integers can be static constant class members in C++. The
* separation constant is set to 0.01, a value taken from the
* separation constant is set to 0.1, a value taken from the
* paper by Davies and Higham. */
static const RealScalar separation() { return static_cast<RealScalar>(0.01); }
static const RealScalar separation() { return static_cast<RealScalar>(0.1); }
};
/** \brief Constructor.