sagemath/sagemath-cremona.patch
Jerry James 0a1b42ef2b Version 9.3.
- Drop -arb and -openblas patches.
- Add -cvxopt patch.
- Add metainfo file.
2021-06-18 11:37:21 -06:00

21 lines
1.1 KiB
Diff

diff -up src/sage/databases/cremona.py.orig src/sage/databases/cremona.py
--- src/sage/databases/cremona.py.orig 2021-05-09 16:00:11.000000000 -0600
+++ src/sage/databases/cremona.py 2021-05-28 11:39:00.005575551 -0600
@@ -885,7 +885,8 @@ class MiniCremonaDatabase(SQLDatabase):
message = "There is no elliptic curve with label " \
+ label + " in the default database; try installing " \
+ "the optional package database_cremona_ellcurve which " \
- + "contains the complete Cremona database"
+ + "contains the complete Cremona database: " \
+ + "sudo dnf install sagemath-data-elliptic_curves_large"
raise ValueError(message)
ainvs = eval(c[0])
data = {'cremona_label': label,
@@ -1663,6 +1664,7 @@ class LargeCremonaDatabase(MiniCremonaDa
con.executemany("UPDATE t_curve SET gens=? WHERE curve=?",
curve_data)
print("Committing...")
+ self.commit()
if largest_conductor and int(v[0]) > largest_conductor: break