[SciPy-dev] Bug?

David Goldsmith d_l_goldsmith at yahoo.com
Tue Jul 28 20:19:31 EDT 2009


>>> 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?

DG


      



More information about the SciPy-Dev mailing list