summaryrefslogtreecommitdiff
path: root/math/gfan/files/patch-src_enumeration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/gfan/files/patch-src_enumeration.cpp')
-rw-r--r--math/gfan/files/patch-src_enumeration.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/gfan/files/patch-src_enumeration.cpp b/math/gfan/files/patch-src_enumeration.cpp
new file mode 100644
index 000000000000..1fc5b87beb1f
--- /dev/null
+++ b/math/gfan/files/patch-src_enumeration.cpp
@@ -0,0 +1,11 @@
+--- src/enumeration.cpp.orig 2017-06-20 14:47:37 UTC
++++ src/enumeration.cpp
+@@ -72,7 +72,7 @@ void EnumerationAlgorithm::printProgress(int step)
+ // if(!(progressCounter&4095))
+ // if(!(progressCounter&255))
+ if(!(progressCounter&15))
+- log2 fprintf(Stderr,"Number of Gr\"obner Bases found %i\n",progressCounter);
++ gfan_log2 fprintf(Stderr,"Number of Gr\"obner Bases found %i\n",progressCounter);
+ fflush(Stderr);
+ step--;
+ }