fix usage of epsilon wrt to latest API change

This commit is contained in:
Thomas Capricelli
2010-02-11 01:43:03 +01:00
parent fc5fa77743
commit ccc58e935e
6 changed files with 22 additions and 22 deletions

View File

@@ -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);