[PATCH] Fix legendre_p(-n,x)



Hey everyone,

On 10/03/2012 09:01 PM, Kris Katterjohn wrote:
> I've found a bug in assoc_legendre_p(): the results seem to always be zero
> when a negative degree is given.

It looks like assoc_legendre_p() isn't the only function which suffers from
this: legendre_p() does as well, but my previous patch doesn't fix it
(legendre_p() doesn't call assoc_legendre_p()).  I've added a patch for this
to the previous tracker[1].

Cheers,
Kris Katterjohn

[1]
https://sourceforge.net/tracker/?func=detail&aid=3574318&group_id=4933&atid=304933