[Numpy-discussion] better error message possible?

2012-06-01 Thread Chris Withers
Hi All, Any reason why this: import numpy numpy.zeros(10)[-123] Traceback (most recent call last): File stdin, line 1, in module IndexError: index out of bounds ...could say this: numpy.zeros(10)[-123] Traceback (most recent call last): File stdin, line 1, in module IndexError:

Re: [Numpy-discussion] better error message possible?

2012-06-01 Thread Nathaniel Smith
On Fri, Jun 1, 2012 at 10:46 AM, Chris Withers ch...@simplistix.co.uk wrote: Hi All, Any reason why this:   import numpy   numpy.zeros(10)[-123] Traceback (most recent call last):   File stdin, line 1, in module IndexError: index out of bounds ...could say this:  

Re: [Numpy-discussion] better error message possible?

2012-06-01 Thread Benjamin Root
On Fri, Jun 1, 2012 at 9:14 AM, Nathaniel Smith n...@pobox.com wrote: On Fri, Jun 1, 2012 at 10:46 AM, Chris Withers ch...@simplistix.co.uk wrote: Hi All, Any reason why this: import numpy numpy.zeros(10)[-123] Traceback (most recent call last): File stdin, line 1, in

Re: [Numpy-discussion] better error message possible?

2012-06-01 Thread Chris Barker
On Fri, Jun 1, 2012 at 10:46 AM, Chris Withers ch...@simplistix.co.uk Any reason why this:   import numpy   numpy.zeros(10)[-123] Traceback (most recent call last):   File stdin, line 1, in module IndexError: index out of bounds ...could say this:   numpy.zeros(10)[-123]

[Numpy-discussion] Error when multiplying large sparse matrices

2012-06-01 Thread Jeremy Lecoeur
Hi, I have been using the sparse matrix tools for a while to do all sort of things and, using the same code that was working just fine, I now encounter a problem when trying . I do have very large sparse matrices and when i multiplying them the number of non zeros exceed the max value of an

Re: [Numpy-discussion] Error when multiplying large sparse matrices

2012-06-01 Thread Pauli Virtanen
01.06.2012 20:45, Jeremy Lecoeur kirjoitti: I have been using the sparse matrix tools for a while to do all sort of things and, using the same code that was working just fine, I now encounter a problem when trying . I do have very large sparse matrices and when i multiplying them the number

Re: [Numpy-discussion] better error message possible?

2012-06-01 Thread Chris Withers
On 01/06/2012 16:39, Benjamin Root wrote: import numpy numpy.zeros(10)[-123] Traceback (most recent call last): File stdin, line 1, in module IndexError: index out of bounds ...could say this: numpy.zeros(10)[-123]