bugGNU Octave - Bugs: bug #37774, Slicing sparse matrix gives wrong...

 
 
Show feedback again

bug #37774: Slicing sparse matrix gives wrong result

Submitted by:  Kim Rydhof Thor Hansen <kimhanse>
Submitted on:  Mon 19 Nov 2012 06:36:39 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 19 Nov 2012 06:36:39 PM UTC, original submission:

"sparse(zeros(1))(false,:)" gives a 0x0 matrix, I think this it should give a 0x1 matrix.

Running the following:

gives this result on newest octave:

Kim Rydhof Thor Hansen <kimhanse>

 

(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 jordigh (Updated the item)
  • -unavailable- added by kimhanse (Submitted the item)
  •  

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Nov 2012 06:50:27 PM UTCjordighStatusNone=>Confirmed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup