[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65538] xint_value does not work the way it is
From: |
Arun Giridhar |
Subject: |
[Octave-bug-tracker] [bug #65538] xint_value does not work the way it is intended |
Date: |
Sun, 31 Mar 2024 21:46:46 -0400 (EDT) |
Update of bug #65538 (group octave):
Status: None => Patch Submitted
Planned Release: 9.2.0 (current stable) => 10.1.0 (current default)
_______________________________________________________
Follow-up Comment #2:
I've attached two patches to introduce a few new functions in ov.h and ov.cc,
and to use them elsewhere.
I've retargeted to default instead of stable since the API changes with the
addition of new functions.
Without these two patches, in addition to the problems described in comment
#0, code like `cell (e, pi)` silently creates a 2x3 cell array, unlike
functions like `zeros` and `ones` which at least complain about non-integer
dimensions.
With the patches, those missed errors are fixed. Non-boolean values being
converted to boolean function inputs now give a warning.
When testing, apply integer.patch first, then the idx_bool.patch next.
(file #55909, file #55910)
_______________________________________________________
Additional Item Attachment:
File name: integer.patch Size:14 KB
<https://file.savannah.gnu.org/file/integer.patch?file_id=55909>
File name: idx_bool.patch Size:13 KB
<https://file.savannah.gnu.org/file/idx_bool.patch?file_id=55910>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-f8d8fc86e28a85f98fa79e2e1fbce7ec340f75ed.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65538>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/