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

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

[Octave-bug-tracker] [bug #58572] cellfun calls overloaded functions for


From: Rik
Subject: [Octave-bug-tracker] [bug #58572] cellfun calls overloaded functions for class method isnumeric called instead of built-in isnumeric
Date: Mon, 15 Jun 2020 12:14:35 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #58572 (project octave):

              Item Group:        Incorrect Result => Regression             
                  Status:                    None => Confirmed              
                 Summary: class method isnumeric called instead of built-in
isnumeric => cellfun calls overloaded functions for class method isnumeric
called instead of built-in isnumeric

    _______________________________________________________

Follow-up Comment #1:

Confirmed.  It seems that when cellfun looks for a function signature to match
isnumeric() it is automatically pickup up the classdef version.  But, the
signature for the classdef version is


bool = isnumeric (OBJECT)


and given that cellfun is actually calling


isnumeric ("STRING")


it should instead be picking up the built-in version of isnumeric which has
that signature.

I'll add jwe to the CC list, although he will probably see this bug pretty
quickly.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58572>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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