Oct. 21, 2009
1:47 p.m.
2009/10/21 Ralf Gommers <ralf.gommers@googlemail.com>:
There is a dtype argument already, you merged my patch for that, commit 44679c7aae5d6b3747c88d46756a3dc96c9a727f.
Oh yes, of course :) My point remains, however, that the default for dtype may have to be changed for consistency. Currently, you have to read the docs to figure out what type will be returned, and I feel that element of surprise can be eliminated simply by specifying the default dtype=float or dtype=np.uint8. Cheers Stéfan