New submission from Armin Rigo <[email protected]>: 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 <[email protected]> <https://bugs.pypy.org/issue1543> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
