Mercurial > hg > octave-nkf
diff liboctave/array/CMatrix.cc @ 19654:cb35d695713c
avoid shadowed variable warnings from GCC
* CMatrix.cc (ComplexMatrix::utsolve, ComplexMatrix::ltsolve):
Eliminate shadowed variable declarations.
* dMatrix.cc (Matrix::utsolve, Matrix::ltsolve):
Avoid shadowed variable declarations.
* fCMatrix.cc (FloatComplexMatrix::utsolve,
FloatComplexMatrix::ltsolve): Likewise.
* fMatrix.cc (FloatMatrix::utsolve, FloatMatrix::ltsolve): Likewise.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 31 Dec 2014 15:57:37 -0500 |
parents | 0b4915fcd2eb |
children | 4197fc428c7d |
line wrap: on
line diff
--- a/liboctave/array/CMatrix.cc +++ b/liboctave/array/CMatrix.cc @@ -1973,8 +1973,8 @@ if (calc_cond) { char norm = '1'; - char uplo = 'U'; - char dia = 'N'; + uplo = 'U'; + dia = 'N'; Array<Complex> z (dim_vector (2 * nc, 1)); Complex *pz = z.fortran_vec (); @@ -2069,8 +2069,8 @@ if (calc_cond) { char norm = '1'; - char uplo = 'L'; - char dia = 'N'; + uplo = 'L'; + dia = 'N'; Array<Complex> z (dim_vector (2 * nc, 1)); Complex *pz = z.fortran_vec ();