Hello, The following is what I expected...
>>> y = 1234 >>> x = array([1], dtype = "uint64") >>> print x + y, (x + y).dtype.type [1235] <type 'numpy.uint64'> but is this the way it should be? (numpy 1.0.2, Linux, Intel comilers) >>> print x[0] + y, type(x[0] + y) 1235.0 <type 'numpy.float64'> Thanks, Christian. _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
