[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wr
From: |
Muhali |
Subject: |
[Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message |
Date: |
Thu, 12 Nov 2020 07:01:31 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0 |
Follow-up Comment #17, bug #58411 (project octave):
[comment #16 comment #16:]
> I think we've done enough for this report. Marking as fixed and closing.
hmm. I'm not sure whether this bug is fixed or a new bug should be filed.
Namely, if you slightly modify the code as follows
function varargout = foo (S, varargin)
warning(S.identifier, S.message) ;
for i = 1 : nargout
varargout{i} = NaN ;
endfor
endfunction
cellfun ("factorial", {1,2,-3}, "ErrorHandler", @foo)
then (again) no warning is issued, unlike in matlab.
_______________________________________________________
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, (continued)
- [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
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message,
Muhali <=
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Rik, 2020/11/12