bugGNU Octave - Bugs: bug #29465, cat(3, [], x) behaves strangely

 
 

bug #29465: cat(3, [], x) behaves strangely

Submitted by:  None
Submitted on:  Wed 07 Apr 2010 10:36:13 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Jaroslav Hajek <highegg>
Originator Name: Heikki KallasjokiOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.3.51
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 08 Apr 2010 10:56:15 AM UTC, comment #2:

Fixed in development sources:
http://hg.savannah.gnu.org/hgweb/octave/rev/8615b55b5caf
Replaced some more dirty macro stuff by templates in the process. Cool!

thanks for the report + best regards

Jaroslav Hajek <highegg>In charge of this item.
Thu 08 Apr 2010 09:48:44 AM UTC, comment #1:

Confirmed on tip.

Jaroslav Hajek <highegg>In charge of this item.
Wed 07 Apr 2010 10:36:13 PM UTC, original submission:

On at least octave 3.3.51, 3.2.3 and 3.0.5 (but not 3.0.1), the built-in "cat" function behaves strangely when the first argument is the empty matrix [], and dimension is larger than 2. Examples below.

3.3.51:

(Note that the output is even not always the same.)

3.2.3:

(If the order of the arguments is reversed, the result is as expected.)

On 3.0.5:

However, on 3.0.1:

(No problems there.)

All the examples were from various x86-64 GNU/Linux systems. Apologies if this has been reported earlier or fixed in the hg tip; a quick search on "cat" in the bug tracker found no hits, and I don't have the proper tools installed to build the latest development code.

Anonymous

 

(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 highegg (Posted a comment)
  • -unavailable- added by None (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Apr 2010 10:56:15 AM UTChigheggStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Thu 08 Apr 2010 09:48:44 AM UTChigheggStatusNone=>In Progress
      Assigned toNone=>highegg

    Back to the top


    Powered by Savane 3.1-cleanup1