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

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

[Octave-bug-tracker] [bug #33334] Concatenation cell strings and strings


From: David Bateman
Subject: [Octave-bug-tracker] [bug #33334] Concatenation cell strings and strings
Date: Tue, 17 May 2011 20:30:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

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

                 Summary: Concatenation cell strings and strings
                 Project: GNU Octave
            Submitted by: dbateman
            Submitted on: Tue 17 May 2011 08:30:04 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: Need Info
             Assigned to: None
         Originator Name: David Bateman
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

While porting some code I ran across the following construct


s = {'s1'};
s = [s; 's2'; 's3']


Octave fails for the above. I no longer have access to matlab and can't easily
check that matlab in fact supports the above. But the use of this code in the
package I'm porting seems to imply that matlab promotes the strings to cell
strings. So if someone could check the above and send the result it would be
great.

The fix is relatively trivial with the addition of two concatenation methods
in op-cell.cc

D.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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