octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46571] classdef numel method not consulted fo


From: Sébastien Villemot
Subject: [Octave-bug-tracker] [bug #46571] classdef numel method not consulted for cell-indexed assignment
Date: Wed, 21 Feb 2018 06:58:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #6, bug #46571 (project octave):

Thanks Mike.

Actually it's already possible, without this patch, to override the numel
method for classdef.

What this patch does is to tie the C++ numel method to the user override,
which is not quite the same thing.

The problem with my patch is that, while it fixes some indexing behaviours, it
breaks others, as you noted.

So please do not apply as it is, I am going to work on a better solution.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46571>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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