Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Indexing with a boolean scalar array -> segfault (Trac #2119) #579

Closed
numpy-gitbot opened this Issue · 1 comment

2 participants

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/2119 on 2012-04-28 by @njsmith, assigned to unknown.

This has the same result in 1.5.1 (as shipped by Ubuntu 11.04) and in current master (3cb783e):

>>> import numpy as np
>>> a = np.zeros((2, 2))
>>> a[np.asarray(True)]
zsh: segmentation fault  python
~$ 
@seberg
Owner

The segfault is fixed (maybe not quite right), but gh-2713 is a duplicate, so closing this.

@seberg seberg closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.