summarylogtreecommitdiffstats
path: root/sagemath-eclib-20180710.patch
diff options
context:
space:
mode:
authorAntonio Rojas2018-07-15 22:07:55 +0000
committerAntonio Rojas2018-07-15 22:07:55 +0000
commit55cd594671684dea1fbecb76592f15d29c24f8e9 (patch)
tree68b45455eae55ecb336a066252617ba72e3c8f70 /sagemath-eclib-20180710.patch
parentc98b51eda75d1eda20d42338d058b267e5fcd509 (diff)
downloadaur-55cd594671684dea1fbecb76592f15d29c24f8e9.tar.gz
Sync patches with stable
Diffstat (limited to 'sagemath-eclib-20180710.patch')
-rw-r--r--sagemath-eclib-20180710.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sagemath-eclib-20180710.patch b/sagemath-eclib-20180710.patch
new file mode 100644
index 000000000000..6e3f3763c5af
--- /dev/null
+++ b/sagemath-eclib-20180710.patch
@@ -0,0 +1,24 @@
+diff --git a/src/sage/libs/eclib/wrap.cpp b/src/sage/libs/eclib/wrap.cpp
+index 5fd5693b53..d12468faa8 100644
+--- a/src/sage/libs/eclib/wrap.cpp
++++ b/src/sage/libs/eclib/wrap.cpp
+@@ -133,8 +133,8 @@ char* Curvedata_isogeny_class(struct Curvedata* E, int verbose)
+
+
+ int mw_process(struct Curvedata* curve, struct mw* m,
+- const struct bigint* x, const struct bigint* y,
+- const struct bigint* z, int sat)
++ const bigint* x, const bigint* y,
++ const bigint* z, int sat)
+ {
+ Point P(*curve, *x, *y, *z);
+ if (!P.isvalid())
+@@ -188,7 +188,7 @@ int mw_rank(struct mw* m)
+ }
+
+ /* Returns index and unsat long array, which user must deallocate */
+-int mw_saturate(struct mw* m, struct bigint* index, char** unsat,
++int mw_saturate(struct mw* m, bigint* index, char** unsat,
+ long sat_bd, int odd_primes_only)
+ {
+ vector<long> v;