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

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

[Octave-bug-tracker] [bug #45171] isequal fails for large sparse matrice


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #45171] isequal fails for large sparse matrices (subscript indices too large)
Date: Sat, 23 May 2015 11:26:26 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

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

                 Summary: isequal fails for large sparse matrices (subscript
indices too large)
                 Project: GNU Octave
            Submitted by: caliari
            Submitted on: Sat 23 May 2015 11:26:25 AM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Dear all,

the following code


A=speye(46342);,isequal(A,A)


fails with 


error: __isequal__: subscript indices must be either positive integers less
than 2^31 or logicals


It is the already seen problem of linear indexing of large sparse matrices. On
the other hand, I was able to fix this case with the enclosed patch, still
preserving the 26 tests in isequal.m.

Cheers,

Marco



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 23 May 2015 11:26:25 AM GMT  Name: __isequal__.m.patch  Size: 673B  
By: caliari

<http://savannah.gnu.org/bugs/download.php?file_id=34084>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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