Re: [Numpy-discussion] mirr test correctly fails for given input.

2009-08-26 Thread Charles R Harris
Fixes applied in r7324. Thanks guys. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] mirr test correctly fails for given input.

2009-08-26 Thread josef . pktd
On Wed, Aug 26, 2009 at 11:25 AM, wrote: > On Wed, Aug 26, 2009 at 10:08 AM, Skipper Seabold wrote: >> On Wed, Aug 26, 2009 at 1:45 AM, wrote: >>> On Tue, Aug 25, 2009 at 11:38 PM, Charles R >>> Harris wrote: So is it a bug in the test or a bug in the implementation? The problem is that

Re: [Numpy-discussion] mirr test correctly fails for given input.

2009-08-26 Thread josef . pktd
On Wed, Aug 26, 2009 at 10:08 AM, Skipper Seabold wrote: > On Wed, Aug 26, 2009 at 1:45 AM, wrote: >> On Tue, Aug 25, 2009 at 11:38 PM, Charles R >> Harris wrote: >>> So is it a bug in the test or a bug in the implementation? The problem is >>> that the slice values[1:] when >>> values =  [-12

Re: [Numpy-discussion] mirr test correctly fails for given input.

2009-08-26 Thread Skipper Seabold
On Wed, Aug 26, 2009 at 1:45 AM, wrote: > On Tue, Aug 25, 2009 at 11:38 PM, Charles R > Harris wrote: >> So is it a bug in the test or a bug in the implementation? The problem is >> that the slice values[1:] when >> values =  [-12,39000,3,21000,37000,46000] contains no negative >> number a

Re: [Numpy-discussion] mirr test correctly fails for given input.

2009-08-25 Thread josef . pktd
On Tue, Aug 25, 2009 at 11:38 PM, Charles R Harris wrote: > So is it a bug in the test or a bug in the implementation? The problem is > that the slice values[1:] when > values =  [-12,39000,3,21000,37000,46000] contains no negative > number and a nan is returned. This looks like a bug in th

[Numpy-discussion] mirr test correctly fails for given input.

2009-08-25 Thread Charles R Harris
So is it a bug in the test or a bug in the implementation? The problem is that the slice values[1:] when values = [-12,39000,3,21000,37000,46000] contains no negative number and a nan is returned. This looks like a bug in the test. The documentation also probably needs fixing. Chuck _