|
From: | Guillaume |
Subject: | [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls |
Date: | Wed, 16 Sep 2020 10:56:47 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #33, bug #58953 (project octave): I was about to send you what Octave does... Here is Matlab instead: >> obj = myclass (rand (3, 4)) obj = myclass with properties: data: [3x4 double] >> obj.data(end,end) ----------------- ans = '.' ans = 'data' ----------------- ----------------- ans = '.' ans = 'data' ----------------- ----------------- ans = '.' ans = '()' ans = 'data' ans = 1x2 cell array {[1]} {[3]} ----------------- ans = 1 1 1 subsref is indeed called twice while only once currently in Octave. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58953> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |