[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8152] classdef: Fix crash when indexing c
From: |
Philipp Kutin |
Subject: |
[Octave-patch-tracker] [patch #8152] classdef: Fix crash when indexing classdef object with empty parentheses. |
Date: |
Sat, 25 Apr 2015 16:54:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #2, patch #8152 (project octave):
I saw your changeset 20125:274b52724931 and to me it looks like what I
intended back then: to prevent "something bad" happening (on reaching
"Array<cdef_object> ires = array.index (iv, auto_add);"?) when the index
vector is empty.
> Another consideration, shouldn't null indexing just return the object itself
rather than generate an error?
Unfortunately I can't test this, since I don't have access to MATLAB anymore.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8152>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/