[bug #68172] any() and all() should work only on numeric or logical args

Thomas <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #1, bug #68172 (group octave):

Here's a patch addressing the issue by disabling `any` and `all` at the
octave_base_value level, and so `any` and `all` will only work if the subclass
type will override either method, respectively.

I've added a few tests focusing on classdefs. `make check` passes on my
machine.

(file #58392)

    _______________________________________________________

Additional Item Attachment:

Name: bug68172.patch                 Size: 5.5KiB
    <https://file.savannah.gnu.org/file/bug68172.patch?file_id=58392>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-9b684d621d606340ec3f8b1a290873daf3ff5474.tar.gz


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCacLNCAAKCRCqLAuaBUf3
TlO2AP92e4o1xRbOaqqUQoA1gPsR/igAWCB6k65U/0Xfgj6NgAD8C6ijL3nUxwFH
yqxuthTIzBzTYk8zcWN4B+XRt2uuNgU=
=mx0k
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.