<br><br><div><span class="gmail_quote">On 7/7/07, <b class="gmail_sendername">Charles R Harris</b> <<a href="mailto:charlesr.harris@gmail.com">charlesr.harris@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br><br>Originally, ones and zeros defaulted to integer, later the default changed to float, now it looks like it is integer again.<br><br><span style="font-family: courier new,monospace;">In [80]: ones(2).dtype</span>

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Out[80]: dtype('int32')</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">In [81]: zeros(2).dtype</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Out[81]: dtype('int32')</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">In [82]: __version__</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">

Out[82]: '1.0.4.dev3880'</span><br style="font-family: courier new,monospace;"><br><br>This could break some code. Did I miss a decision somewhere along the line?</blockquote><div><br>This seems to be a problem with ipython -pylab choosing the old compatibility mode. I thought that was going away.
<br><br>Chuck<br></div><br></div><br>