Mercurial > hg > octave-terminal
changeset 10706:6f34e781aed2
Second try at removing extra newlines from NDArrays
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 15 Jun 2010 09:55:00 -0700 |
parents | d500acdcf2dd |
children | 69c5f5ec55d7 |
files | src/ChangeLog src/pr-output.cc |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-06-15 Rik <octave@nomad.inbox5.com> + + * pr-output.cc: Second try at removing extra newlines from NDArrays + 2010-06-14 Rik <octave@nomad.inbox5.com> * pr-output.cc: Remove extra newlines when displaying multi-dimensional
--- a/src/pr-output.cc +++ b/src/pr-output.cc @@ -1895,14 +1895,14 @@ octave_value page \ = MAT_T (Array<ELT_T> (nda.index (idx), nr, nc)); \ \ - if (i < ndims - 2) \ + if (i != m - 1) \ { \ page.print_with_name (os, nm); \ } \ else \ { \ page.print_name_tag (os, nm); \ - page.print_raw(os); \ + page.print_raw (os); \ } \ \ if (i < m) \