[Tutor] numeric typeError

Jeff Peery jeffpeery at yahoo.com
Thu Nov 10 22:18:16 CET 2005


hello, I'm getting this strange error:
 
myArray1[1:2]   = myArray2[3:4]
 
TypeError: Array can not be safely cast to required type

 
everytime I try to copy a slice from one array to the next this error occurs. the slices are the same size and I initialized the arrays using Numeric.zeros(10, 'Float').
 
anyone have an idea why this happens? thanks.
 
Jeff

		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051110/ce0ef1af/attachment.html


More information about the Tutor mailing list