[Matrix-SIG] Numeric Array: adding a 0-D array to a cell in a 2-D array

Janko Hauser jhauser@ifm.uni-kiel.de
Thu, 24 Feb 2000 21:58:27 +0100 (CET)


Also I can not reproduce this error (older NumPY version) you can try
to do an active cast.

>>> a[kwd,kwd]=temp.astype('b')[0]

As a side note, if you want to know the type you can use the
typecode() method on arrays. temp.typecode()

HTH,

__Janko