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

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

[Octave-bug-tracker] [bug #30941] truncated subsrefs array in 3.3.52+


From: Pascal Dupuis
Subject: [Octave-bug-tracker] [bug #30941] truncated subsrefs array in 3.3.52+
Date: Wed, 01 Sep 2010 13:27:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8

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

                 Summary: truncated subsrefs array in 3.3.52+
                 Project: GNU Octave
            Submitted by: cdemills
            Submitted on: mer 01 sep 2010 13:27:39 GMT
                Category: Interpreter
                Severity: 3 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Pascal Dupuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello,

the following code works as expected in 3.2.4, and fails in dev:
x=dataframe('octave_frame/data_test.csv');
x(1:3, 1)(:).cell

Under 3.2.4, subsref is called with a 3x1 S struct. Under 3.3.52+, subsref is
called with a 1x1 S struct, and further dereferencing occurs in the context of
the result of x(1:3, 1), of class 'char'. 

Matlab documentation states that in the case of cascaded subsref, length(S)
is the number of levels. Could you restore 3.2.4 behavior ?

Regards

Pascal




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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