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

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

[Octave-bug-tracker] [bug #43511] null arrary to be retained when cellst


From: anonymous
Subject: [Octave-bug-tracker] [bug #43511] null arrary to be retained when cellstr is used to build vector through concatenation
Date: Fri, 31 Oct 2014 22:02:15 +0000
User-agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

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

                 Summary: null arrary to be retained when cellstr is used to
build vector through concatenation
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 31 Oct 2014 10:02:14 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Kelvin McCollough
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:


octave:14> a = "example"
a = example
octave:15> b = []
b = [](0x0)
octave:16> b = [b, cellstr(a)]
b = 
{
  [1,1] = [](0x0)
  [1,2] = example
}


Version 3.4.3 and older matlab versions would return 


octave:62> a = "example"
a = example
octave:63> b = []
b = [](0x0)
octave:64> b = [b, cellstr(a)]
b = 
{
  [1,1] = example
}
octave:65> version
ans = 3.4.3





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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