|
From: | Carnë Draug |
Subject: | [Octave-bug-tracker] [bug #51059] statistics: hist3 function doesn't handle NaN inputs properly |
Date: | Fri, 19 May 2017 07:16:26 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #5, bug #51059 (project octave): > Actually there's still an issue if after nan-removal the matrix X becomes empty. I think there needs to be another empty check just after line 97. Looking at this better, there's actually a bunch of other special cases. The NaN needs to be removed after computing the edges only. Also we need to center the values in the histogram if all values are the same http://hg.code.sf.net/p/octave/statistics/rev/498e4ee08706 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51059> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |