comparison COPYING @ 20189:b2532deba721

Return copy of class object when using null indexing (bug #44940). * ov-classdef.cc (cdef_object_scalar::subsref): Check index expression and return octave_value of this_obj if empty. * ov-classdef.cc (cdef_object_array::subsref): Remove error when index expression is empty. If expression is empty then return cdef_object of this.
author John W. Eaton <jwe@octave.org>
date Thu, 14 May 2015 08:00:53 -0700
parents 93c65f2a5668
children 194eb4bd202b
comparison
equal deleted inserted replaced
20180:89616a98b02e 20189:b2532deba721