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

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

[Octave-bug-tracker] [bug #46385] Can't Repmat Structure Arrays


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #46385] Can't Repmat Structure Arrays
Date: Fri, 1 Jul 2016 18:47:24 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #9, bug #46385 (project octave):

Nicholas, it looks like the size(M.a) is treating M.a as a cs-list.

Out of interest, this is what I get for a recent Octave tip:


>> M = struct('a',zeros(2),'b',true);
>> bigM = repmat (M, 1, 2);
>> bigM.a
ans =

   0   0
   0   0

ans =

   0   0
   0   0

>> size (bigM.a)
error: size: requested dimension DIM (= 0) out of range


When you got size(bigM.a) = 100, was that with Markus's patch?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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