Hi,
did I kill my sage or is numpy.round broken in 4.5.2?

What I did:

----------------------------------------------------------------------
| Sage Version 4.5.2, Release Date: 2010-08-05                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: import numpy as np
sage: np.round(1.2)

I get the following error message:

[...]/sage/local/lib/python2.6/site-packages/numpy/core/fromnumeric.pyc
in round_(a, decimals, out)
   2031     except AttributeError:
   2032         return _wrapit(a, 'round', decimals, out)
-> 2033     return round(decimals, out)
   2034
   2035

TypeError: round() takes no arguments (2 given)

I'm running sage on ubuntu 10.04.

Thanks,
tobi

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to