diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-06-09 15:17:58 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-06-09 15:17:58 +0200 |
commit | d4c574707e294383a755dc1cf5694d8341934375 (patch) | |
tree | 9df83c9f472eae1dc792c8808c76e268c63d413a /blas/level2_impl.h | |
parent | f9350e70eb04bd62f9b3503369daf668539c1de7 (diff) |
fix some legitimate shadow warnings
Diffstat (limited to 'blas/level2_impl.h')
-rw-r--r-- | blas/level2_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blas/level2_impl.h b/blas/level2_impl.h index e604fe611..917f2e372 100644 --- a/blas/level2_impl.h +++ b/blas/level2_impl.h @@ -351,8 +351,8 @@ int EIGEN_BLAS_FUNC(tbsv)(char *uplo, char *op, char *diag, int *n, int *k, Real static bool init = false; if(!init) { - for(int k=0; k<16; ++k) - func[k] = 0; + for(int i=0; i<16; ++i) + func[i] = 0; func[NOTR | (UP << 2) | (NUNIT << 3)] = (internal::band_solve_triangular_selector<int,Upper|0, Scalar,false,Scalar,ColMajor>::run); func[TR | (UP << 2) | (NUNIT << 3)] = (internal::band_solve_triangular_selector<int,Lower|0, Scalar,false,Scalar,RowMajor>::run); |