mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-18 18:29:01 -04:00
24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
diff -up src/sage/libs/cypari2/paridecl.pxd.orig src/sage/libs/cypari2/paridecl.pxd
|
|
--- src/sage/libs/cypari2/paridecl.pxd.orig 2017-03-04 14:37:56.976639516 -0500
|
|
+++ src/sage/libs/cypari2/paridecl.pxd 2017-03-04 14:38:09.953640013 -0500
|
|
@@ -77,7 +77,7 @@ cdef extern from "sage/libs/cypari2/cypa
|
|
int PARI_SIGINT_block, PARI_SIGINT_pending
|
|
void NEXT_PRIME_VIADIFF(long, byteptr)
|
|
void PREC_PRIME_VIADIFF(long, byteptr)
|
|
- int INIT_JMPm, INIT_SIGm, INIT_DFTm, INIT_noPRIMEm, INIT_noIMTm
|
|
+ int INIT_JMPm, INIT_SIGm, INIT_DFTm, INIT_noPRIMEm, INIT_noIMTm, INIT_noINTGMPm
|
|
int new_galois_format, factor_add_primes, factor_proven
|
|
int precdl
|
|
# The "except 0" here is to ensure compatibility with
|
|
diff -up src/sage/libs/cypari2/pari_instance.pyx.orig src/sage/libs/cypari2/pari_instance.pyx
|
|
--- src/sage/libs/cypari2/pari_instance.pyx.orig 2017-03-04 14:38:30.535640801 -0500
|
|
+++ src/sage/libs/cypari2/pari_instance.pyx 2017-03-04 14:38:39.680641151 -0500
|
|
@@ -510,7 +510,7 @@ cdef class PariInstance(PariInstance_aut
|
|
# As a simple heuristic, we set the virtual stack to 1/4 of the
|
|
# virtual memory.
|
|
|
|
- pari_init_opts(size, maxprime, INIT_DFTm)
|
|
+ pari_init_opts(size, maxprime, INIT_DFTm|INIT_noINTGMPm)
|
|
|
|
from sage.misc.getusage import virtual_memory_limit
|
|
|