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

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

[Octave-bug-tracker] [bug #51715] pkg.fcn should call function fcn with


From: Piotr Held
Subject: [Octave-bug-tracker] [bug #51715] pkg.fcn should call function fcn with no arguments for Matlab compatibility
Date: Thu, 10 Aug 2017 11:59:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36

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

About this bug: I figure (and haven't checked this) that all that is needed is
a is_classdef_superclass_ref () check at here
<http://hg.savannah.gnu.org/hgweb/octave/file/3c5a49805dbd/libinterp/parse-tree/pt-eval.cc#l1459>


Should that check be on octave_value level, or octave_function level? 

The reason I'm asking is that octave_value has so many is_... checks that I
was wondering if it would not be enough to put it on octave_function level and
then dynamic cast to it to check. On the other hand, you get a slight
performance hit when you do that. Any thoughts?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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