[SciPy-dev] Bug in scipy.stats.kde?

Robert Kern robert.kern@gmail....
Fri Oct 12 12:17:03 CDT 2007


Dave Hirschfeld wrote:
> Unless I'm mistaken it appears there's a bug in scipy.stats.kde as demonstrated
> in the example below.
> 
> It appears that line 205 is referencing np (numpy) which has not been imported.
> At the top of the file ravel has been imported from numpy so the solution
> appears to be to simply remove the reference to np in the integrate_box_1d
> function.

Fixed, thank you.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco


More information about the Scipy-dev mailing list