mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix usage of epsilon wrt to latest API change
This commit is contained in:
@@ -17,7 +17,7 @@ int ei_fdjac1(
|
||||
int start, length;
|
||||
|
||||
/* Function Body */
|
||||
const Scalar epsmch = epsilon<Scalar>();
|
||||
const Scalar epsmch = NumTraits<Scalar>::epsilon();
|
||||
const int n = x.size();
|
||||
assert(fvec.size()==n);
|
||||
Matrix< Scalar, Dynamic, 1 > wa1(n);
|
||||
|
||||
Reference in New Issue
Block a user