[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34478] argn is undefined inside subsref
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #34478] argn is undefined inside subsref |
Date: |
Thu, 28 Jul 2016 18:48:53 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #4, bug #34478 (project octave):
Just hit this error and found this open bug report. This is due to this chunk
of code:
http://hg.savannah.gnu.org/hgweb/octave/file/829e0aafebdc/libinterp/octave-value/ov-class.cc#l437
Does anyone know what Matlab compatibility this is attempting to deal with?
Blame points me to these two changes
http://hg.savannah.gnu.org/hgweb/octave/rev/a76f391a3d02
http://hg.savannah.gnu.org/hgweb/octave/rev/318e0cdd31bd
So it's the way that the @foo/subsref.m function is called by octave_class
that is to blame, but I don't understand what this is meant to be doing to
attempt to fix it.
It looks like it's setting up a heuristic for what kinds of indexing could
lead to more return values than the caller actually requested, maybe? Is this
even needed now?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34478>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34478] argn is undefined inside subsref,
Mike Miller <=