[SciPy-dev] Bug?

Ralf Gommers ralf.gommers@googlemail....
Tue Jul 28 19:58:10 CDT 2009


On Tue, Jul 28, 2009 at 8:19 PM, David Goldsmith <d_l_goldsmith@yahoo.com>wrote:

>
> >>> np.set_printoptions(precision=4)
> >>> np.lib.scimath.arctanh([1j])
> array([ 0.+0.7854j])
>
> so far, so good
>
> >>> np.lib.scimath.arctanh(1j)
> 0.78539816339744828j
>
> i.e., set_printoptions didn't affect the result when the input was a
> scalar.  "Feature" or bug?


A bug, reported last year in numpy ticket #817.

Ralf


>
>
> DG
>
>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20090728/c801199a/attachment.html 


More information about the Scipy-dev mailing list