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

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

[Octave-bug-tracker] [bug #48690] basic statistics functions should retu


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #48690] basic statistics functions should return NaN on empty input
Date: Sun, 7 Aug 2016 16:37:13 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #12, bug #48690 (project octave):

mode patch added. I noticed it already used a conditional return, so I did the
same to catch a [] input. didn't know if conditional returns are considered
good or bad form rather than a larger if/else like i did with median.

(file #38139)
    _______________________________________________________

Additional Item Attachment:

File name: modeNaN.diff                   Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48690>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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