bugGNU Octave - Bugs: bug #30029, Minor: extra newlines when viewing...

 
 

bug #30029: Minor: extra newlines when viewing matrices with >2 dimensions

Submitted by:  Jake <epy>
Submitted on:  Tue 01 Jun 2010 11:54:07 PM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.2.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 15 Jun 2010 02:54:05 AM UTC, comment #4:

Fixed in changeset (10705:d500acdcf2dd).

Rik <rik5>
Project Administrator
Wed 02 Jun 2010 07:37:28 PM UTC, comment #3:

Confirmed with development tip (10678:35338deff753) on GNU/Linux system.

Rik <rik5>
Project Administrator
Wed 02 Jun 2010 07:07:52 PM UTC, comment #2:

Sorry about that, the comment box ate up the extra newlines. There are an extra 2 newlines that result in 3 empty lines between the last array value and the next prompt instead of the optimal 1 empty line.

Just run 'zeros(3,3,3)' at the prompt and you'll see what I mean.

Jake <epy>
Wed 02 Jun 2010 07:04:53 PM UTC, comment #1:

Are you speaking about newlines between ans(:,:,1) and ans(:,:,2)?

Or are you seeing newlines between ans(:,:,3) and the next octave prompt?

It may be the comment box eating blank lines but your posted example doesn't seem to show extra newlines.

Rik <rik5>
Project Administrator
Tue 01 Jun 2010 11:54:07 PM UTC, original submission:

octave:3> z=zeros(3,3,3)
z =

ans(:,:,1) =

0 0 0
0 0 0
0 0 0

ans(:,:,2) =

0 0 0
0 0 0
0 0 0

ans(:,:,3) =

0 0 0
0 0 0
0 0 0

octave:4>

I know it's really trivial, but when displaying matrices with more than two dimensions, octave adds an awkward extra two newlines that eat up a lot of space. If I had any idea which source file this was in I'd take care of it myself.

Also, the links to the testing release on the main page are broken.

Jake <epy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by epy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Jun 2010 02:54:05 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 02 Jun 2010 07:37:28 PM UTCrik5Severity3 - Normal=>2 - Minor
      StatusNeed Info=>Confirmed
    Wed 02 Jun 2010 07:04:53 PM UTCrik5StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1