scipy/scipy — pull request #474 by Daniel-B-Smith (2013-03-19 20:22:21+00:00)
Title: Added boolean ndarray indexing for LIL matrix

I added a couple of lines to allow for indexing with boolean ndarrays. For the type testing, I'm using i.dtype.kind == 'b'. If anyone has a better method for type testing, please let me know. I wasn't able to find anything when I searched. I added a couple of tests comparing the sparse matrix class to the NumPy matrix indexing.