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: John W. Eaton
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:22:37 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #2, bug #58572 (project octave):

If you change the use_num method in the class to be


    function rslt = use_num(obj)
      fh = @isnumeric;
      functions (fh)
      rslt = cellfun(fh, {'a_name'});
    end


what info does it display about the function handle when you execute the test
in Matlab?


    _______________________________________________________

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]