[Numpy-tickets] [NumPy] #432: cov segfaults when input is oriented incorrectly

NumPy numpy-tickets@scipy....
Mon Apr 9 10:53:37 CDT 2007


#432: cov segfaults when input is oriented incorrectly
--------------------+-------------------------------------------------------
 Reporter:  dhuard  |        Owner:  somebody
     Type:  defect  |       Status:  reopened
 Priority:  normal  |    Milestone:          
Component:  Other   |      Version:          
 Severity:  normal  |   Resolution:          
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by charris):

 Hah, thought so. I'm going to guess it's a 64 bit thingee, maybe involving
 64 bit integers in a parameter somewhere in the Atlas call. The cov code
 is pretty simple, the only place that looks like a problem is:


 {{{
     if not rowvar:
         return (dot(X.T, X.conj()) / fact).squeeze()
     else:
         return (dot(X, X.T.conj()) / fact).squeeze()

 }}}

 Could you try the dot products with your matrix leaving out the fact
 variable and the squeeze method?

 TIA

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/432#comment:7>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list