[Numpy-discussion] ticket #842.

Charles R Harris charlesr.harris@gmail....
Sat Jul 19 00:36:55 CDT 2008


Just wanted to bring attention to ticket
#842<http://projects.scipy.org/scipy/numpy/ticket/842>because I think
the fix should be pretty easy. I added a comment:

The printing inconsistency is a duplicate of
#841<http://projects.scipy.org/scipy/numpy/ticket/841>and has been
fixed. What remains odd is that the conjugate is a scalar not
an array.

In [2]: type(conjugate(array(8+7j)))
Out[2]: <type 'numpy.complex128'>

In [3]: type((array(8+7j)))
Out[3]: <type 'numpy.ndarray'>

So I think all that needs to be done is fix the return type conjugate
if we agree that it should be an array.


Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080718/39b9cc3f/attachment.html 


More information about the Numpy-discussion mailing list