[SciPy-user] numpy install errors

Robert Kern robert.kern@gmail....
Mon Feb 18 11:48:33 CST 2008


On Feb 18, 2008 11:42 AM, Alastair Basden <a.g.basden@durham.ac.uk> wrote:
> Hi,
> installation now okay - was something to do with environment variables,
> though not sure which ones...
>
> So the question now is why does the following happen:
>
> >>> import scipy.special
> >>> scipy.special.kv(6./5,1)
> 0.70066931017889988
> >>> scipy.special.kv(6./5,1)
> 0.70066931017889988
> >>> scipy.special.kv(6./5,1)
> 0.70066931017889988
> >>> scipy.special.kv(6./5,[1,1])
> array([ 0.70066931,  0.70066931])
> >>> scipy.special.kv(6./5,1)
> 6.1853203003937157e-282
> >>> scipy.special.kv(6./5,1)
> 6.1853203003937157e-282
>
> ie it seems to go wrong after the first ufunc is called... but is okay on
> single values...

There's a bug somewhere. A similar problem has been reported recently.

-- 
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-user mailing list