On 13 Mar 2019, at 07:09, John W. Eaton <address@hidden> wrote:
It's intentional, for compatibility with Matlab. There are a few bug reports
about it. But I was fixing a different bug when I also fixed the problem with
str2func.
https://savannah.gnu.org/bugs/?func=detailitem&item_id=52568
https://savannah.gnu.org/bugs/?func=detailitem&item_id=31821
Why do you need to check?
indeed there is no real need to check but there are currently BIST tests
that expect this to be checked
Also, I would strongly recommend that people use function handles, not simple
names in character strings.
unfortunately that is needed for compatibility