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

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

[Octave-bug-tracker] [bug #30923] OO code failing under 3.3.52+


From: Pascal Dupuis
Subject: [Octave-bug-tracker] [bug #30923] OO code failing under 3.3.52+
Date: Wed, 01 Sep 2010 13:06:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8

Follow-up Comment #3, bug #30923 (project octave):

MatLab numel is misleading:
numel(randn(3)) returns 9
numel(some object with many data) returns 1

The documentation states that it may be used explicitely or implicitely,
associated to a call to subsref/subsasgn. Unfortunately, from inside numel,
you just can't distinguish both uses. My workaround is just NOT to provide an
overloaded numel for dataframe.

Regards

Pascal

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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