On Tue, 30 Jan 2007, Gary Ruben apparently wrote: > One question, which may be an issue: Should ones, zeros > and empty be generating arrays of floats by default now?
>>> import numpy as n >>> z = n.zeros((2,2)) >>> z.dtype dtype('float64') >>> o = n.ones((2,2)) >>> o.dtype dtype('float64') >>> e = n.empty((2,2)) >>> e.dtype dtype('float64') >>> n.__version__ '1.0' hth, Alan Isaac _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion