scipy/scipy — pull request #425 by Daniel-B-Smith (2013-02-07 16:21:05+00:00)
Title: For ticket #1075

...test

to confirm 1075 was fixed and fixed slicing tests.

I fixed _TestFancyIndexing under test_base.py, added some code into lil_matrix.__setitem__ and __getitem__ to improve the handling of numpy arrays as indexes, and reorganized the code to allow for fancy indexing. If at least one of the two indexes is a scalar or a slice, the code runs exactly the same as before. However, if the code is two lists, the code is changed to set items just like a 2-d numpy array.