[Top][All Lists]

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

[Octave-bug-tracker] [bug #57533] Incorrect error message when assigning

From: Rik
Subject: [Octave-bug-tracker] [bug #57533] Incorrect error message when assigning to a subset of a 3+ dimensional array
Date: Fri, 3 Jan 2020 19:11:37 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57533 (project octave):

                Severity:              3 - Normal => 2 - Minor              
              Item Group:                    None => Other                  
                  Status:                    None => Confirmed              
                 Release:                   5.1.0 => dev                    


Follow-up Comment #1:

Confirmed.  Matlab, as well as Octave in the 2-D case, get it right.

This is probably something about reporting the dimensions of the original base
matrix, rather than the dimensions of the object after indexing.  As an
example of that,

octave:21> a = zeros (3,4,5);
octave:22> b = ones (2,2);
octave:23> a(1,:,2) = b
error: =: nonconformant arguments (op1 is 3x4x5, op2 is 2x2)


Reply to this item at:


  Message sent via Savannah

reply via email to

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