Hello, > From: santhu kumar <mesan...@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 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion