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

 
 

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

Submitter:  Jake <epy>
Submitted:  Tue 01 Jun 2010 11:54:07 PM UTC
   
 
Category:  Interpreter Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.2.4 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fixed in changeset (10705:d500acdcf2dd).

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

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

Rik <rik5>
Group 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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-15 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2010-06-02 rik5 Severity3 - Normal 2 - Minor
        StatusNeed Info Confirmed
    2010-06-02 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code