[Numpy-discussion] Problem with correlate

David Cournapeau david@ar.media.kyoto-u.ac...
Mon Jun 1 22:33:27 CDT 2009


Charles R Harris wrote:
>
>
> On Mon, Jun 1, 2009 at 11:48 AM, Charles R Harris
> <charlesr.harris@gmail.com <mailto:charlesr.harris@gmail.com>> wrote:
>
>
>
>     On Mon, Jun 1, 2009 at 10:35 AM, Robert Kern
>     <robert.kern@gmail.com <mailto:robert.kern@gmail.com>> wrote:
>
>         On Mon, Jun 1, 2009 at 00:05, David Cournapeau
>         <david@ar.media.kyoto-u.ac.jp
>         <mailto:david@ar.media.kyoto-u.ac.jp>> wrote:
>
>         > I think we should just fix it to use conjugate - I will do
>         this in the
>         > branch, and I will integrate it in the trunk later unless
>         someone stands
>         > up vehemently against the change. I opened up a ticket to
>         track this,
>         > though,
>
>         It breaks everyone's code that works around the current behavior.
>
>
>     Maybe we need a new function. But what to call it?
>
>
> How about introducing acorrelate and deprecating the old version?

This does not solve the C function problem (PyArray_Correlate). The easy
solution would be to keep the current C version, deal with the problem
in python for acorrelate for the time being, and replace the old C
function with the 'correct' one once we remove the deprecated correlate ?

David


More information about the Numpy-discussion mailing list