Mercurial > octave
diff liboctave/array/idx-vector.cc @ 18083:938f01339043
maint: Use Octave coding convention for indexing vs. function calls in liboctave/array.
* CMatrix.cc, CSparse.cc, Sparse.cc, dMatrix.cc, dSparse.cc, fCMatrix.cc,
fMatrix.cc, idx-vector.cc: Use Octave coding convention for indexing vs.
function calls in liboctave/array.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 04 Dec 2013 18:56:47 -0800 |
parents | 49a5a4be04a1 |
children | 8e056300994b |
line wrap: on
line diff
--- a/liboctave/array/idx-vector.cc Wed Dec 04 14:15:01 2013 -0800 +++ b/liboctave/array/idx-vector.cc Wed Dec 04 18:56:47 2013 -0800 @@ -440,7 +440,7 @@ octave_idx_type nr = bnda.rows (); for (octave_idx_type j = 0; j < nc; j++) - for (octave_idx_type i = bnda.cidx(j); i < bnda.cidx(j+1); i++) + for (octave_idx_type i = bnda.cidx (j); i < bnda.cidx (j+1); i++) if (bnda.data (i)) d[k++] = j * nr + bnda.ridx (i);