[Top][All Lists]

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

[Octave-bug-tracker] [bug #51633] Empty indexing of struct returns empty

From: Rik
Subject: [Octave-bug-tracker] [bug #51633] Empty indexing of struct returns empty struct array
Date: Fri, 11 Aug 2017 11:26:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Update of bug #51633 (project octave):

                  Status:               Confirmed => Fixed                  
             Open/Closed:                    Open => Closed                 


Follow-up Comment #10:

This was a simple fix.  Unlike other data types, the struct do_index_op
function was not checking the length of the index list for the special case
where it was 0 (empty).  I changed that and added a test for it here

I also checked the other data types and they seem to work, except possibly for
objects where the subsref routine is often overloaded.  I'll ask a question
about that on the Maintainer's list.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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