bugGNU Octave - Bugs: bug #40295, sparse max/min gives wrong...

 
 

bug #40295: sparse max/min gives wrong dimensions when input has a 0-dimension

Submitted by:  David Spies <dspyz>
Submitted on:  Thu 17 Oct 2013 10:31:07 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: David Bateman <dbateman>
Originator Name: dspiesOpen/Closed: Closed
Release: devOperating 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 17 Oct 2013 11:37:25 PM UTC, comment #1:

Changeset

http://hg.savannah.gnu.org/hgweb/octave/rev/93e272018df2

fixes this problem

D.

David Bateman <dbateman>
Project MemberIn charge of this item.
Thu 17 Oct 2013 10:31:07 PM UTC, original submission:

a = sparse(8,0);
size(max(a,[],1))
ans =

0 0

Should be

1 0

David Spies <dspyz>

 

(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 dbateman (Posted a comment)
  • -unavailable- added by dspyz (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Oct 2013 11:37:25 PM UTCdbatemanStatusNone=>Fixed
      Assigned toNone=>dbateman
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1