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

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

[Octave-bug-tracker] [bug #65405] median errors for vectors of NaNs with


From: Rik
Subject: [Octave-bug-tracker] [bug #65405] median errors for vectors of NaNs with option 'omitnan'
Date: Sat, 2 Mar 2024 22:36:47 -0500 (EST)

Update of bug #65405 (group octave):

         Planned Release:                    None => 9.1.0 (current stable) 

    _______________________________________________________

Follow-up Comment #2:

Confirmed.  It works for arrays, rather than vectors.


median ([NaN, NaN; NaN, NaN], "omitnan")
ans =

   NaN   NaN


It also works for mean().


mean ([NaN, NaN], "omitnan")
ans = NaN


A simple oversight in the code, but we should have a BIST test for this corner
case in addition to the fix.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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