[SciPy-user] special.round(10.5) [was: Installing SciPy on Mac OS X Tiger]

Fernando Perez Fernando.Perez at colorado.edu
Tue Jun 14 16:00:27 CDT 2005


Robert Kern wrote:

> Yes, it's been checked in. However, it appears that on your machine, 
> scipy.special.round(10.5) == 11. Bugger. Can you give me the 
> repr(scipy.special.round) like this:
> 
> In [1]: scipy.special.round
> Out[1]: <ufunc 'round'>

Yup:

In [8]: scipy.special.round
Out[8]: <ufunc 'round'>

In [9]: scipy.special.round(10.5)
Out[9]: 11.0

calderon[~]> uname -a
Linux calderon.colorado.edu 2.6.10-1.741_FC3 #1 Thu Jan 13 16:38:22 EST 
2005 i686 i686 i386 GNU/Linux

calderon[~]> python -V
Python 2.3.4

What should we do here?

f



More information about the SciPy-user mailing list