On 20/07/2013 8:00 PM, numpy-discussion-requ...@scipy.org wrote:Date: Sat, 20 Jul 2013 12:58:08 +0200 From: Ralf Gommers <ralf.gomm...@gmail.com> Subject: Re: [Numpy-discussion] subtypes of ndarray and round() To: Discussion of Numerical Python <numpy-discussion@scipy.org> Message-ID: <cabl7cqivcxtdamorky-9wg5x0le+qj0kmrypgnibpvwvz5b...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"On Thu, Jul 4, 2013 at 9:43 PM, Matti Picus <matti.pi...@gmail.com> wrote:round() does not consistently preserve subtype of the ndarray, is this known behaviour or should I file a bug for it?That looks like a bug to me. The docstring explicitly says that return type equals input type. Ralf Filed as issue 3540 Matti |
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion