28 Jun
2011
28 Jun
'11
8:03 p.m.
Hello,
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). Best, Radim