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

RadimRehurek RadimRehurek@seznam...
Tue Jun 28 13:03:05 CDT 2011


> From: santhu kumar <mesanthu@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).


More information about the NumPy-Discussion mailing list