|
From: | Reimund Renner |
Subject: | [Octave-bug-tracker] [bug #51437] mean(zeros(1, 0)) does not return NaN for Matlab compatibility |
Date: | Tue, 25 Jul 2017 03:59:14 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 |
Follow-up Comment #9, bug #51437 (project octave): I understand that NaN or empty array is returned depending on dimension. Strange was directed to the case that mean(zeros(1,0)) leads to dim 2 and mean(zeros(2,0)) leads to dim 1. This is not generic beahvior in my opinion. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51437> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |