Hi Stefan,

I checked it with numpy version 1.1.1 just now and the result is the same:

>>> x = N.array([0.,0,1,0,0])
>>> y1 = N.array([1.,0,0,0,0])
>>> N.correlate(x,y1, mode='full')
array([ 0.,  0.,  0.,  0.,  0.,  0.,  1.,  0.,  0.])
>>> y2 = N.array([1.,0,0,0,0,0,0])
>>> N.correlate(x,y2, mode='full')
array([ 0.,  0.,  1.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.])
>>> N.__version__
'1.1.1'
>>>

Best regards,
Hanno

Stéfan van der Walt <[EMAIL PROTECTED]> said:

> Hi Hanno
> 
> 2008/8/22 Hanno Klemm <[EMAIL PROTECTED]>:
> > yes, indeed, that's what I thought. This result is odd. Has correlate
> > been changed since version 1.0.4, or should I submit this as a bug?
> 
> Is there any way that you could try out the latest release on your
> machine and see if it solves your problem?  We probably won't be
> releasing bug-fixes on 1.0.4, but if it exists in 1.1 we'll still
> address it.  I'm not aware of any changes, but I may simply have
> missed it.
> 
> Regards
> Stéfan
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
> 



-- 
Hanno Klemm
[EMAIL PROTECTED]


_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to