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: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #52001] error assigning to a slice of a 3d matrix
Date: Tue, 12 Sep 2017 09:53:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, bug #52001 (project octave):

interesting.  it works (in 4.2.1) if you specify the 3rd range:


>> q(1,3:4,1:3) = ones(1, 2, 3)
q =
ans(:,:,1) =
     0     0     1     1

ans(:,:,2) =

     0     0     1     1

ans(:,:,3) =

     0     0     1     1


    _______________________________________________________

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]