[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: |
Fri, 6 Nov 2020 12:35:54 -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 #9, bug #58411 (project octave):
@Muhali: Are you using a self-built version of Octave based on hg id
e3bc897115ed or did you download a pre-built version of Octave?
Are you running Linux? What version of g++ are you using?
I run things using a file cellfoo.m and a file tst_cellfun_nan.m which are
attached.
cellfoo.m is
function varargout = cellfoo (S, varargin)
S.message
for i = 1 : nargout
varargout{i} = NaN ;
endfor
endfunction
tst_cellfun_nan.m is
cellfun ("factorial", {1,2,-3}, "ErrorHandler", @cellfoo)
With these files, I definitely get that the third output is initialized to 1.
_______________________________________________________
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, 2020/11/05
- [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 <=
- [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, 2020/11/12
- [Octave-bug-tracker] [bug #58411] cellfun with "ErrorHandler" returns wrong message, Rik, 2020/11/12