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 16:28:35 -0500 (EST)

Follow-up Comment #7, bug #66642 (group octave):

it may be worth working up a few more BISTs to tease out and verify a few more
things like this. (current bists only test uniformoutput=true)

initially i was concerned this was more of an interpreter level issue that
should also catch issues with cellfun, but for arbitrary function inputs i
guess it makes sense that the interpreter won't be able to tell the difference
as long as we're pre-populating the outputs. 

It would be useful to me to better understand why the call to f within cellfun
fails to generate the error that occurs when it's called alone, and whether
something is being missed there that should be addressed.


    _______________________________________________________

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]