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

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

[Octave-bug-tracker] [bug #52001] error assigning to a slice of a 3d mat


From: Rik
Subject: [Octave-bug-tracker] [bug #52001] error assigning to a slice of a 3d matrix
Date: Tue, 12 Sep 2017 18:08:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #52001 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #2:

Confirmed.  I can probably understand why as well.  Since the variable doesn't
exist, all trailing dimensions are probably set to 1 so the implied size is
0x0x1.  The ':' indexing operator selects that last dimension, but it has size
of one versus a size of three.  This squares with the error message issued


nonconformant arguments (op1 is 0x0x1, op2 is 2x3)


I'm guessing that this would be relatively hard to solve since it involves
adding a very special corner case.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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