|
From: | Nicholas Jankowski |
Subject: | [Octave-bug-tracker] [bug #46385] Can't Repmat Structure Arrays |
Date: | Fri, 1 Jul 2016 19:43:14 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #11, bug #46385 (project octave): Since I'm not setup to recompile, this is using the 4.0.2 release. Confirming Rik's test for Matlab: >> s(1).a = [1 2 3]; >> s(2).a = [4;5;6]; >> s.a ans = 1 2 3 ans = 4 5 6 >> size(s.a) Error using size Dimension argument must be a positive integer scalar within indexing range. >> size(s(1).a) ans = 1 3 >> size(s(2).a) ans = 3 1 I switched to zeros to verify that it was picking up the 0 from the next 'a' and not from 'b' or elsewhere. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46385> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |