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

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

[Octave-bug-tracker] [bug #66617] structfun assumes output arguments for


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #66617] structfun assumes output arguments for delete command
Date: Mon, 30 Dec 2024 11:43:04 -0500 (EST)

Update of bug #66617 (group octave):

                  Status:                    None => Confirmed

    _______________________________________________________

Follow-up Comment #1:

I can reproduce it with Octave-10.0.0. But I don't get the traceback pointing
to l.108 of structfun.m (a regression?)

>> FIG.main=figure;
>> structfun(@delete, FIG)
error: delete: function called with too many outputs
>> 

The cause of this bug looks to be that 'structfun.m' unconditionally expects
the invoked function to return an output in L.108, while 'delete.m' supplies
none.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
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]