Mercurial > octave
view .gitignore @ 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 | 5758e0013246 |
children |