|
From: | Nicholas Jankowski |
Subject: | [Octave-bug-tracker] [bug #48690] basic statistics functions should return NaN on empty input |
Date: | Fri, 5 Aug 2016 20:36:10 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #6, bug #48690 (project octave): mean([]) did produce a NaN, but only because it had a divide by zero hiding in there, producing some warnings. mean.m patch attached directly produces NaN without warnings. (file #38122) _______________________________________________________ Additional Item Attachment: File name: meanNaN.diff Size:0 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48690> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |