|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles |
| Date: | Tue, 26 May 2020 15:12:07 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #4, bug #58445 (project octave):
Matlab responds with
Error using cellfun
unknown option
Error in foo (line 11)
cellfun ('numel', x)
The documentation says that cellfun only accepts handles to functions, not the
string name. See https://www.mathworks.com/help/matlab/ref/cellfun.html.
Commenting out that code and re-running gives
ans = [13, 13]
So, it is picking up the handle to the subfunction.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58445>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |