[IPython-User] bitwise and

Éric Depagne eric@depagne....
Fri Aug 9 07:25:49 CDT 2013


Hi all.

I have updated ipython from 0.13 to 1.0 this morning (btw, congrats to all the 
devs!).

I have the following code that worked yesterday:
l = np.random.standard_cauchy(10000)
l = l[l>-25 & l<25]


Since the update, I get the following:
<ipython-input-15-8e231ea64b0e> in <module>()
----> 1 l = l[l>-25 & l<25]

TypeError: ufunc 'bitwise_and' not supported for the input types, and the 
inputs could not be safely coerced to any supported types according to the 
casting rule ''safe''

Do I do something wrong?

Éric.

Un clavier azerty en vaut deux
----------------------------------------------------------
Éric Depagne                            eric@depagne.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130809/48b71961/attachment-0001.html 


More information about the IPython-User mailing list