[Numpy-discussion] NumPy-Discussion Digest, Vol 57, Issue 155

RadimRehurek RadimRehurek at seznam.cz
Tue Jun 28 14:03:05 EDT 2011


Hello,

> From: santhu kumar <mesanthu at gmail.com>
> 
> After looking at the suggestions I have checked my matrix again and found
> that the matrix was wrong.(Has some NAN's and other values which are wrong).
> After correcting it it works fine.

Not to beat a dead horse, but here's an (ancient) related numpy ticket: http://projects.scipy.org/numpy/ticket/706

It may not be your case here, but this bug bit me in the past as well (OS X with vecLib). For what it's worth, my solution was what Lou suggested (squaring the input).

Best,
Radim



More information about the NumPy-Discussion mailing list