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

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

[Octave-bug-tracker] [bug #50934] Strange cell initialization for out-of


From: Rik
Subject: [Octave-bug-tracker] [bug #50934] Strange cell initialization for out-of-memory conditions:
Date: Wed, 3 May 2017 21:17:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

Update of bug #50934 (project octave):

              Item Group:                    None => Incorrect Result       
                  Status:                    None => Confirmed              
                 Release:                   4.0.3 => dev                    

    _______________________________________________________

Follow-up Comment #1:

Confirmed.  And I moved the version up to the development branch since it is
still present in the latest code.

It's clearly something specifically with cell.  An array function like zeros
works correctly.


zeros (1e10,1)
error: out of memory or dimension too large for Octave's index type


The dimension that is too large, which should be triggering an exception and
an error message, instead is getting set to 0.  For example:


b = cell (1e10, 2, 2)
b = {0x2x2 Cell Array}




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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