octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #66642] cellfun & arrayfun return zero values


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #66642] cellfun & arrayfun return zero values if function returns fewer outputs than expected
Date: Wed, 8 Jan 2025 11:34:41 -0500 (EST)

Update of bug #66642 (group octave):

                 Summary: cellfun assumes zero values when function returns
fewer outputs than expected => cellfun & arrayfun return zero values if
function returns fewer outputs than expected

    _______________________________________________________

Follow-up Comment #4:

a simple check of inserting an error() line into f shows that cellfun does
properly stop for errors in the function. 

also, arrayfun shows the same behavior as cellfun.  updating title and added
another BIST as 
https://hg.savannah.gnu.org/hgweb/octave/rev/f901d8fd3091



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66642>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]