[Numpy-discussion] inconsistency in 10**(-2) or 10**array([-2])

Mark Bakker markbak@gmail....
Wed Aug 18 07:42:51 CDT 2010

Hello list,

When I do 10**-2, Python nicely returns 0.02

But with numpy (version 1.3.0), I get zero:

In [492]: 10**array([-2])
Out[492]: array([0])

Is this the intended behavior?

Thanks, Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100818/e4c02f64/attachment.html 

More information about the NumPy-Discussion mailing list