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

Janko Hauser jhauser@ifm.uni-kiel.de
Fri, 25 Feb 2000 08:21:22 +0100 (CET)

Herbert L. Roitblat writes:
 > Thanks, I did decide to do an active cast as a temporary Kluge, but it makes
 > a slow process even SLOWER.  It seems to me that one ought to be able to add
 > an array element to itself without having to do an active cast.

Yes that's right, but you do need to make a cast somewhere, if you add
an integer ('i') to a short ('b') element. And from the example you
gave, you do not add an element to itself. So this would also not
change, even after the proposed changes to the casting rules.