Skip to content

Commit

Permalink
Trac #29719: upgrade to flint 2.6.3
Browse files Browse the repository at this point in the history
Flint 2.6.3 has been released

tarball: see checksums.ini [upstream_url]

URL: https://trac.sagemath.org/29719
Reported by: vdelecroix
Ticket author(s): Dima Pasechnik, Matthias Koeppe
Reviewer(s): Matthias Koeppe, Dima Pasechnik
  • Loading branch information
Release Manager committed Nov 7, 2020
2 parents 532e475 + 7681b1a commit 430c549
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 231 deletions.
2 changes: 1 addition & 1 deletion build/pkgs/arb/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.16.0.p0
2.16.0.p1
7 changes: 4 additions & 3 deletions build/pkgs/flint/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=flint-VERSION.tar.gz
sha1=67c747ec92dda0dbc57ab88e2c501b11537299a5
md5=cda885309362150196aed66a5e0f0383
cksum=4232495945
sha1=7d3c6046d87e0ee143d217c76fb8e2e196c36019
md5=ed3a6cab37fe2298d9cfaead6ccd1dc7
cksum=2609134913
upstream_url=http://flintlib.org/flint-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/flint/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.2.p5
2.6.3
13 changes: 0 additions & 13 deletions build/pkgs/flint/patches/Makefile.subdirs.patch

This file was deleted.

78 changes: 0 additions & 78 deletions build/pkgs/flint/patches/flint-pie-hardening-conflict.patch

This file was deleted.

19 changes: 0 additions & 19 deletions build/pkgs/flint/patches/flintxx-include.patch

This file was deleted.

15 changes: 0 additions & 15 deletions build/pkgs/flint/patches/flush-memory-msg.patch

This file was deleted.

42 changes: 0 additions & 42 deletions build/pkgs/flint/patches/linking_SunOS_FreeBSD.patch

This file was deleted.

13 changes: 0 additions & 13 deletions build/pkgs/flint/patches/no_language_standard_override.patch

This file was deleted.

25 changes: 0 additions & 25 deletions build/pkgs/flint/patches/use_ldflags_in_tests.patch

This file was deleted.

14 changes: 9 additions & 5 deletions src/doc/en/constructions/algebraic_geometry.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,17 @@ Other methods
sage: I = singular.ideal('[x^4+x, y^4+y]')
sage: L = singular.closed_points(I)
sage: # Here you have all the points :
sage: print(L)
sage: L # random
[1]:
_[1]=y+1 # 32-bit
_[2]=x+1 # 32-bit
_[1]=y # 64-bit
_[2]=x # 64-bit
_[1]=y+1
_[2]=x+1
...
sage: l=[L[k].sage() for k in [1..10]]; len(l) # there are 10 points
10
sage: r=sorted(l[0].ring().gens()); r
[y, x]
sage: r in [t.gens() for t in l] # one of them is given by [y,x]
True

- Another way to compute rational points is to use Singular's
``NSplaces`` command. Here's the Klein quartic over :math:`GF(8)`
Expand Down
9 changes: 1 addition & 8 deletions src/doc/en/developer/coding_in_other.rst
Original file line number Diff line number Diff line change
Expand Up @@ -439,21 +439,14 @@ interface to Singular::
''
sage: L = singular.eval("POINTS;")

sage: print(L)
sage: print(L) # random
[1]:
[1]:
0
[2]:
1
[3]:
0
[2]:
[1]:
-2
[2]:
-1
[3]:
1
...

From looking at the output, notice that our wrapper function will need
Expand Down
7 changes: 4 additions & 3 deletions src/sage/modules/fg_pid/fgp_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@
Here we illustrate lifting an element of the image of f, i.e., finding
an element of M0 that maps to a given element of M1::
sage: y = f.lift(3*M1.0); y
sage: y = f.lift(3*M1.0)
sage: y # random
(0, 13)
sage: f(y)
(3)
Expand Down Expand Up @@ -1285,7 +1286,7 @@ def coordinate_vector(self, x, reduce=False):
(0, 4)
sage: Q.coordinate_vector(x, reduce=True)
(0, 4)
sage: Q.coordinate_vector(-x, reduce=False)
sage: Q.coordinate_vector(-x, reduce=False) # random
(0, -4)
sage: x == 4*Q.1
True
Expand Down Expand Up @@ -1414,7 +1415,7 @@ def optimized(self):
Echelon basis matrix:
[ 0 12 0]
[ 0 0 4]
sage: X
sage: X # random
[0 4 0]
[0 1 0]
[0 0 1]
Expand Down
12 changes: 7 additions & 5 deletions src/sage/modules/free_module_morphism.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,12 +350,14 @@ def lift(self, x):
sage: V = X.span([[2, 0], [0, 8]], ZZ)
sage: W = (QQ**1).span([[1/12]], ZZ)
sage: f = V.hom([W([1/3]), W([1/2])], W)
sage: f.lift([1/3])
sage: l=f.lift([1/3]); l # random
(8, -16)
sage: f.lift([1/2])
(12, -24)
sage: f.lift([1/6])
(4, -8)
sage: f(l)
(1/3)
sage: f(f.lift([1/2]))
(1/2)
sage: f(f.lift([1/6]))
(1/6)
sage: f.lift([1/12])
Traceback (most recent call last):
...
Expand Down

0 comments on commit 430c549

Please sign in to comment.