<div dir="ltr"><div>"""</div><div>In [3]: n.floor(n.linspace(0,5,7), dtype=<a href="http://n.int">n.int</a>)</div><div>---------------------------------------------------------------------------</div><div>TypeError                                 Traceback (most recent call last)</div><div><ipython-input-3-1471f5d738e8> in <module>()</div><div>----> 1 n.floor(n.linspace(0,5,7), dtype=<a href="http://n.int">n.int</a>)</div><div><br></div><div>TypeError: No loop matching the specified signature and casting</div><div>was found for ufunc floor</div><div><br></div><div>In [4]: n.__version__</div><div>Out[4]: '1.11.0'</div><div>"""</div><div><br></div><div>Is this the expected behavior?</div><div><br></div><div>I am doing:</div><div>>>> myints = n.array(n.floor(myarray), dtype=<a href="http://n.int">n.int</a>)</div><div>to get the integers.</div><div><br></div><div>tx.</div><div>R.</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Renato Fabbri</div><div>GNU/Linux User #479299</div><div><a href="http://labmacambira.sourceforge.net" target="_blank">labmacambira.sourceforge.net</a></div></div></div></div></div></div></div></div></div>
<img src="http://t.sidekickopen16.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dfcjVRbJkd7dK_XRW2BV_0v2zlZNzW2C2c_41k1H6H0?si=5478613303427072&pi=7d18e251-e333-4f38-e6b0-9c0968c92bc3&ti=undefined" style="display:none!important" height="1" width="1"></div>