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

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

[Octave-bug-tracker] [bug #34123] strtrim no longer trims multilevel cel


From: Ben Barrowes
Subject: [Octave-bug-tracker] [bug #34123] strtrim no longer trims multilevel cell arrays in some cases
Date: Wed, 24 Aug 2011 18:25:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.16) Gecko/20101130 Firefox/3.5.16

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

                 Summary: strtrim no longer trims multilevel cell arrays in
some cases
                 Project: GNU Octave
            Submitted by: barrowes
            Submitted on: Wed 24 Aug 2011 06:25:03 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: barrowes
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The following just stopped working with the latest dev build. Nested cell
arrays no longer get strtrim'ed properly:



debug> aa={' 123  ',{' fg'}}
aa = 
{
  [1,1] =  123  
  [1,2] = 
  {
    [1,1] =  fg
  }
}
debug> strtrim(aa)
error: strtrim: S argument must be a string or cellstring
error: called from:
error:   /usr/local/share/octave/3.5.0+/m/strings/strtrim.m at line -1, column
-1
debug> 








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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