More Index realted warnings.

This commit is contained in:
Hauke Heibel
2010-06-20 15:52:34 +02:00
parent 7548708848
commit e402d34407
7 changed files with 11 additions and 11 deletions

View File

@@ -79,7 +79,7 @@ public:
/* Local variables */
Scalar h;
int nfev=0;
const int n = _x.size();
const typename InputType::Index n = _x.size();
const Scalar eps = ei_sqrt((std::max(epsfcn,NumTraits<Scalar>::epsilon() )));
ValueType val1, val2;
InputType x = _x;