bugGNU Octave - Bugs: bug #40288, max of speye (65536) fails

 
 

bug #40288: max of speye (65536) fails

Submitter:  Carnë Draug <carandraug>
Submitted:  Thu 17 Oct 2013 12:14:02 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 17 Oct 2013 12:16:20 PM UTC, comment #1: 

Ups! When I went back to the main menu I noticed that it was reported in the mean time. Closing as duplicate of bug #40287

Carnë Draug <carandraug>
Group Member
Thu 17 Oct 2013 12:14:02 PM UTC, original submission:  

For some reason, max() fails to see the 1's in the sparse matrix 'speye (65536)'. It works fine for 65535 and 65537.


octave> max (max (speye (65535)))
ans = Compressed Column Sparse (rows = 1, cols = 1, nnz = 1 [100%])

  (1, 1) ->  1
octave> max (max (speye (65536)))
ans = Compressed Column Sparse (rows = 0, cols = 0, nnz = 0)

octave> max (max (speye (65537)))
ans = Compressed Column Sparse (rows = 1, cols = 1, nnz = 1 [100%])

  (1, 1) ->  1


This still happens in the development release (cset 17616:8cc19352fd74).

This bug was originally reported (help was asked) on StackOverflow http://stackoverflow.com/questions/19417442/max-of-octave-sparse-matrix-failed

Carnë Draug <carandraug>
Group Member

 

(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 carandraug (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-17 carandraug StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code