[Top][All Lists]

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

[Octave-bug-tracker] [bug #58953] Error with 'end' in index expression w

From: Fernando
Subject: [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls
Date: Fri, 11 Sep 2020 02:43:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Follow-up Comment #25, bug #58953 (project octave):

In the second case, it's the same behaviour as for obj.data(end). In order to
evaluate "end", we need to evaluate obj.data by calling subsref. The subsref
method for this class always returns the array ones(3,1), so "end" evaluates
to 3. After that, the complete subsref operation can be executed.


Reply to this item at:


  Mensaje enviado vía Savannah

reply via email to

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