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

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

[Octave-bug-tracker] [bug #61752] unique.m FAIL in test suite


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #61752] unique.m FAIL in test suite
Date: Sat, 1 Jan 2022 11:52:42 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <https://savannah.gnu.org/bugs/?61752>

                 Summary: unique.m FAIL in test suite
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Sat 01 Jan 2022 05:52:41 PM CET
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:


>> test unique
***** assert (unique ([1,NaN,Inf,NaN,Inf]), [1,Inf,NaN,NaN])
!!!!! test failed
ASSERT errors for:  assert (unique ([1, NaN, Inf, NaN, Inf]),[1, Inf, NaN,
NaN])

  Location  |  Observed  |  Expected  |  Reason
     .          O(1x5)       E(1x4)      Dimensions don't match
>> unique ([1,NaN,Inf,NaN,Inf])
ans =
     1   NaN   Inf   NaN   Inf


6.4.0 does it differently:

>> unique ([1,NaN,Inf,NaN,Inf])
ans =
     1   Inf   NaN   NaN


I'm still surprised by the double NaN - is that intended bug-for-bug Matlab
compatibility? :-)  I saw that Matlab r2020b also returns double NaN's.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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