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

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

[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps
Date: Wed, 8 May 2024 15:42:44 -0400 (EDT)

Follow-up Comment #38, bug #65712 (group octave):

Where are you seeing the -inf crash? I am not able to replicate that on
default nor on stable.

I compared the BISTs on default against the ones on stable and tried to run
them on stable one by one:

* Fractional inputs are silently converted to integers, as was expected. This
will change with Octave 10 but does not need to be changed now.

* dim = inf returns the input matrix without a crash.

* dim being a vector silently takes only the first element, as expected. If
the first element is nan, it gives an error. For all positive values of the
first element, including inf, it works properly. The pathological failure is
with e.g. sort (A, [1 2 nan]) which takes only the 1. But that kind of
statement is difficult to enter by accident, only if stress-testing the input
validation, so it's probably OK to let it ride until Octave 10?

* Adding BISTs to data.cc on stable almost always results in a merge conflict
and having to merge manually.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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