[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wr
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message |
Date: |
Thu, 5 Nov 2020 17:24:50 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 |
Follow-up Comment #7, bug #58411 (project octave):
The original test code still doesn't produce Matlab behavior, but maybe that
is okay as the regression (disappearance of error message) is fixed.
Specifically, this code
cellfun ("factorial", {1,2,-3}, "ErrorHandler", @foo)
used to produce an error message and this numerical result
ans =
1.0000e+00 2.0000e+00 2.5233e-310
It now produces this numerical result
ans =
1 2 1
In Matlab, it produces the error
Output was expected but not returned while using Uniform output, at index 3.
Set ‘UniformOutput’ to false.
Do we want to leave this bug report open and change the Item Group to "Matlab
Compatibility" or should this be a new report. My only reason for continuing
here is that there is already sample code and some interested parties.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58411>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, John W. Eaton, 2020/11/05
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Muhali, 2020/11/05
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, John W. Eaton, 2020/11/05
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message,
Rik <=
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Muhali, 2020/11/06
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Rik, 2020/11/06
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Muhali, 2020/11/06
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, John W. Eaton, 2020/11/06
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, John W. Eaton, 2020/11/06
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Rik, 2020/11/06
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Rik, 2020/11/06
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, John W. Eaton, 2020/11/09
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, John W. Eaton, 2020/11/11
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Rik, 2020/11/11