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

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

[Octave-bug-tracker] [bug #39789] Error while indexing certain cell expr


From: anonymous
Subject: [Octave-bug-tracker] [bug #39789] Error while indexing certain cell expressions
Date: Thu, 15 Aug 2013 08:24:48 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36

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

                 Summary: Error while indexing certain cell expressions
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Чтв 15 Авг 2013 08:24:47
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Alexander Mamonov
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

When executing the following cell assignment


c = cell(1,1,1);
c{1,1,1} = zeros(5, 2);
c{1,1,1}(:, 1) = 1;


Octave gives an error:

error: a cs-list cannot be further indexed
error: assignment failed, or no method for 'cell = range'

Expected behavior is for c{1,1,1} to assume value
[1, 0; 1, 0; 1, 0; 1, 0; 1, 0]

If this bug is fixed, please add a relevant test to the test suite.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Чтв 15 Авг 2013 08:24:47  Name: testcell111.m  Size: 64B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=28848>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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