[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53220] Sending strings to quadl
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #53220] Sending strings to quadl |
Date: |
Mon, 26 Feb 2018 23:08:22 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #2, bug #53220 (project octave):
You also don't need to use
quadl (@(x) sin(x), 0, pi)
You can just use @sin:
quadl (@sin, 0, pi)
I suspect the error messages are different simply because these functions were
written by different people who handled the function arguments differently.
If we fix that, it might be good to review all functions in Octave that call
user-defined functions, agree on the best way to handle them, and make them
all consistent.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53220>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/