octave-maintainers
[Top][All Lists]
Advanced

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

Re: cellfun calling style


From: John W. Eaton
Subject: Re: cellfun calling style
Date: Tue, 20 Sep 2011 16:33:55 -0400

On 20-Sep-2011, Jordi Gutiérrez Hermoso wrote:

| On 20 September 2011 14:54, John W. Eaton <address@hidden> wrote:
| > On 20-Sep-2011, Rik wrote:
| 
| > | octave_value f = symbol_table::find_function (func.function_value ()
| > |                                                          -> name ());
| >
| > We probably don't want to do that because I think it will screw up
| > cases where people actually do want to use the function handle for
| > purposes of finding the right overloaded function to call.
| 
| Isn't that what I did here?
| 
|     
http://hg.savannah.gnu.org/hgweb/octave/annotate/9b8e786bbf3c/src/DLD-FUNCTIONS/cellfun.cc#l357

I think that's OK if the is_overloaded function is always giving
you the correct result.

I'll be able to say more when I am able to come up with a simple
example that demonstrates the bug I've found.

jwe


reply via email to

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