mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-02 16:54:10 +08:00
fix usage of epsilon wrt to latest API change
This commit is contained in:
parent
ccc58e935e
commit
fd19dd57d8
@ -80,7 +80,7 @@ public:
|
|||||||
Scalar h;
|
Scalar h;
|
||||||
int nfev=0;
|
int nfev=0;
|
||||||
const int n = _x.size();
|
const int n = _x.size();
|
||||||
const Scalar eps = ei_sqrt((std::max(epsfcn,epsilon<Scalar>() )));
|
const Scalar eps = ei_sqrt((std::max(epsfcn,NumTraits<Scalar>::epsilon() )));
|
||||||
ValueType val1, val2;
|
ValueType val1, val2;
|
||||||
InputType x = _x;
|
InputType x = _x;
|
||||||
// TODO : we should do this only if the size is not already known
|
// TODO : we should do this only if the size is not already known
|
||||||
|
Loading…
x
Reference in New Issue
Block a user