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

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

[Octave-bug-tracker] [bug #61300] integer range might exceed upper limit


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #61300] integer range might exceed upper limit
Date: Tue, 30 Nov 2021 17:13:34 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Follow-up Comment #41, bug #61300 (project octave):

I am seeing a regression with nchoosek. It looks like it was because of this
change because it affects stable too.

Before this patch, nchoosek only failed for unsigned types as described in bug
#61565 but DID work for signed integers. Now that fails too with a length
mismatch error:


>> nchoosek (int8 (10), int8 (5))
error: product: nonconformant arguments (op1 is 1x3, op2 is 1x2)
error: called from
    nchoosek at line 125 column 13


We can certainly patch nchoosek (much easier than patching Range) but I wanted
to raise it here because it might be a symptom of something deeper.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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