|
From: Sasha <nd...@ma...> - 2006-02-21 15:31:49
|
On 2/21/06, Mads Ipsen <mp...@os...> wrote: > Maybe I am wrong here, but around() and rint() is supposed to round to > the closest integer, i.e. for x =3D array([1.1, 1.8]) You are right. In the follow-up I've suggested to speed-up the case decimals=3D0 in around in around instead of adding another function. I think that would be a more "pythonic" solution. |