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

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

[Octave-bug-tracker] [bug #45963] sparse matrices with negative size


From: anonymous
Subject: [Octave-bug-tracker] [bug #45963] sparse matrices with negative size
Date: Mon, 14 Sep 2015 19:32:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

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

                 Summary: sparse matrices with negative size
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 14 Sep 2015 07:32:03 PM UTC
                Category: Octave Function
                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: GNU/Linux

    _______________________________________________________

Details:

In both 4.0.0 and hg tip, built with default options on x86-64, the following
code makes sparse matrices with a negative number of rows:


s = sparse(2e9, 1);
[s; s]
vertcat(s, s)
repmat(s, 2, 1)


Probably expected result: "error: out of memory or dimension too large for
Octave's index type" from each of the three commands.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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