[NumPy-Tickets] [NumPy] #1539: MSVC specific TypeError when using double, longdouble in numpy.dot

NumPy Trac numpy-tickets@scipy....
Thu Jul 8 04:33:41 CDT 2010


#1539: MSVC specific TypeError when using double, longdouble in numpy.dot
---------------------+------------------------------------------------------
 Reporter:  cgohlke  |       Owner:  somebody
     Type:  defect   |      Status:  new     
 Priority:  normal   |   Milestone:  2.0.0   
Component:  Other    |     Version:          
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by cgohlke):

 The attached test passes on mingw/gcc and fails on msvc builds:


 {{{
 ERROR: Test for issue #1539.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "D:\test_issue1539.py", line 16, in test_issue1539
     np.dot(b, c)
 TypeError: array cannot be safely cast to required type
 -------------------- >> begin captured stdout << ---------------------
 TypeError: array cannot be safely cast to required type (12, 13)
 TypeError: array cannot be safely cast to required type (15, 16)

 --------------------- >> end captured stdout << ----------------------
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1539#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list