mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
More Index realted warnings.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -447,7 +447,7 @@ struct lmstr_functor : Functor<double>
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
int df(const VectorXd &x, VectorXd &jac_row, int rownb)
|
||||
int df(const VectorXd &x, VectorXd &jac_row, VectorXd::Index rownb)
|
||||
{
|
||||
assert(x.size()==3);
|
||||
assert(jac_row.size()==x.size());
|
||||
|
||||
Reference in New Issue
Block a user