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: anonymous
Subject: [Octave-bug-tracker] [bug #50934] Strange cell initialization for out-of-memory conditions:
Date: Wed, 3 May 2017 18:12:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36

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

                 Summary: Strange cell initialization for out-of-memory
conditions: 
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 03 May 2017 10:12:20 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: DAVE GOEL
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

octave:4> version
ans = 4.0.3

octave:5> a=cell(1e8,100);
error: out of memory or dimension too large for Octave's index type

octave:5> b = cell(1e10,1);
octave:6> b
b = {}(0x1)

b is the same size as a, just shaped different.
It should have reported out-of-memory instead. 


(Confirmed by THE JWE HIMSELF @ irc)





    _______________________________________________________

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]