Skip to content

Commit

Permalink
Trac #22364: Upgrade to pynac-0.7.5
Browse files Browse the repository at this point in the history
Pynac-0.7.5 has
- crucial improvements to Gosper algorithm (#22090)
- pynac.pc additions

https://github.com/pynac/pynac/releases/download/pynac-0.7.5/pynac-0.7.5
.tar.bz2

URL: https://trac.sagemath.org/22364
Reported by: rws
Ticket author(s): Ralf Stephan
Reviewer(s): Volker Braun
  • Loading branch information
Release Manager authored and vbraun committed Feb 28, 2017
2 parents cc01eb9 + 8d7801e commit a0220eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/pynac/checksums.ini
@@ -1,4 +1,4 @@
tarball=pynac-VERSION.tar.bz2
sha1=f375fbb59ec841dc1fee6b09cf9cc2d5e06ea757
md5=92b4d7b8a152536ec476ecb8bf208261
cksum=262865416
sha1=915c0d0669a1a337eb06c0dbba4e4ea86e1f5c3d
md5=a076c6ae174b1d39662f8e775f4ffcf2
cksum=85783609
2 changes: 1 addition & 1 deletion build/pkgs/pynac/package-version.txt
@@ -1 +1 @@
0.7.4.p0
0.7.5
2 changes: 1 addition & 1 deletion build/pkgs/pynac/spkg-install
Expand Up @@ -26,7 +26,7 @@ build_pynac()
{
cd ${PYNACDIR}
PKG_CONFIG_PATH=${SAGE_LOCAL}/lib/pkgconfig; export PKG_CONFIG_PATH
./configure --disable-static --prefix=${SAGE_LOCAL} --libdir="$SAGE_LOCAL/lib"
./configure --disable-static --prefix=${SAGE_LOCAL} --with-giac=no --libdir="$SAGE_LOCAL/lib"
$MAKE
if [ $? -ne 0 ]; then
echo "Error building pynac."
Expand Down
2 changes: 1 addition & 1 deletion src/sage/functions/orthogonal_polys.py
Expand Up @@ -1922,7 +1922,7 @@ def _eval_(self, n, a, b, x):
from sage.functions.other import gamma
s = sum(binomial(n,m) * gamma(a+b+n+m+1) / gamma(a+m+1) * ((x-1)/2)**m for m in range(n+1))
r = gamma(a+n+1) / factorial(n) / gamma(n+a+b+1) * s
return r.to_gamma().gamma_normalize()
return r.to_gamma().gamma_normalize().normalize()

def _evalf_(self, n, a, b, x, **kwds):
"""
Expand Down

0 comments on commit a0220eb

Please sign in to comment.