[pypy-issue] [issue1543] numpypy: complex128.conjugate()

Armin Rigo tracker at bugs.pypy.org
Wed Jul 17 10:38:46 CEST 2013


New submission from Armin Rigo <armin.rigo at gmail.com>:

a = numpypy.array([1,2,3.4J],dtype=complex);
print type(a[2])    # <type 'numpypy.complex128'>
print a[2].conjugate()

This gives an error "unsupported operand type for conjugate: 'complex128'",
although the type complex128 is a subclass of the built-in 'complex'.  Check
also the other methods on int/long/float/complex, like is_integer().

----------
messages: 5941
nosy: arigo, pypy-issue
priority: bug
status: unread
title: numpypy: complex128.conjugate()

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1543>
________________________________________


More information about the pypy-issue mailing list