summaryrefslogtreecommitdiff
path: root/math/cocoalib/files/extra-patch-include-CoCoA_config.H
diff options
context:
space:
mode:
Diffstat (limited to 'math/cocoalib/files/extra-patch-include-CoCoA_config.H')
-rw-r--r--math/cocoalib/files/extra-patch-include-CoCoA_config.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/cocoalib/files/extra-patch-include-CoCoA_config.H b/math/cocoalib/files/extra-patch-include-CoCoA_config.H
new file mode 100644
index 000000000000..b15f13fc0911
--- /dev/null
+++ b/math/cocoalib/files/extra-patch-include-CoCoA_config.H
@@ -0,0 +1,11 @@
+--- include/CoCoA/config.H.orig 2020-06-09 22:18:10 UTC
++++ include/CoCoA/config.H
+@@ -25,7 +25,7 @@ namespace CoCoA
+ // This is the type used internally for "small" exponents in some PPMonoids
+ // (PPMonoidEv, PPMonoidEvOv). Also implies the number of bits used for a
+ // "compressed entry" in an order vector (see OrdvArith).
+- typedef unsigned int SmallExponent_t;
++ typedef unsigned short SmallExponent_t;
+
+ // **ROUNDING**
+ // The way CoCoALib rounds halves is determined by the fns RoundDiv in