the Index types change.

As discussed on the list (too long to explain here).
This commit is contained in:
Benoit Jacob
2010-05-30 16:00:58 -04:00
parent faa3ff3be6
commit aaaade4b3d
158 changed files with 3137 additions and 2878 deletions

View File

@@ -5,13 +5,15 @@ void ei_covar(
const VectorXi &ipvt,
Scalar tol = ei_sqrt(NumTraits<Scalar>::epsilon()) )
{
typedef DenseIndex Index;
/* Local variables */
int i, j, k, l, ii, jj;
int sing;
Index i, j, k, l, ii, jj;
bool sing;
Scalar temp;
/* Function Body */
const int n = r.cols();
const Index n = r.cols();
const Scalar tolr = tol * ei_abs(r(0,0));
Matrix< Scalar, Dynamic, 1 > wa(n);
assert(ipvt.size()==n);