[SciPy-dev] Bug?

Ralf Gommers ralf.gommers at googlemail.com
Tue Jul 28 20:58:10 EDT 2009


On Tue, Jul 28, 2009 at 8:19 PM, David Goldsmith <d_l_goldsmith at 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 at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20090728/c801199a/attachment.html>


More information about the SciPy-Dev mailing list