octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40288] max of speye (65536) fails


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #40288] max of speye (65536) fails
Date: Thu, 17 Oct 2013 12:14:02 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9

URL:
  <http://savannah.gnu.org/bugs/?40288>

                 Summary: max of speye (65536) fails
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Thu 17 Oct 2013 12:14:02 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40288>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]