Mercurial > hg > octave-lyh
diff liboctave/CSparse.cc @ 10550:c48b7048e720
style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 23 Apr 2010 14:43:41 -0400 |
parents | 4d1fc073fbb7 |
children | c2041adcf234 |
line wrap: on
line diff
--- a/liboctave/CSparse.cc +++ b/liboctave/CSparse.cc @@ -7407,14 +7407,16 @@ // add one to the printed indices to go from // zero-based to one-based arrays - for (octave_idx_type j = 0; j < nc; j++) { - octave_quit (); - for (octave_idx_type i = a.cidx(j); i < a.cidx(j+1); i++) { - os << a.ridx(i) + 1 << " " << j + 1 << " "; - octave_write_complex (os, a.data(i)); - os << "\n"; - } - } + for (octave_idx_type j = 0; j < nc; j++) + { + octave_quit (); + for (octave_idx_type i = a.cidx(j); i < a.cidx(j+1); i++) + { + os << a.ridx(i) + 1 << " " << j + 1 << " "; + octave_write_complex (os, a.data(i)); + os << "\n"; + } + } return os; }