diff options
Diffstat (limited to 'sci-mathematics/frobby/files/frobby-gmp-5.1.patch')
-rw-r--r-- | sci-mathematics/frobby/files/frobby-gmp-5.1.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-mathematics/frobby/files/frobby-gmp-5.1.patch b/sci-mathematics/frobby/files/frobby-gmp-5.1.patch new file mode 100644 index 000000000000..23cf295b8965 --- /dev/null +++ b/sci-mathematics/frobby/files/frobby-gmp-5.1.patch @@ -0,0 +1,12 @@ +diff -U 3 -dHrN frobby_v0.9.0.orig/src/StatisticsStrategy.cpp frobby_v0.9.0/src/StatisticsStrategy.cpp +--- frobby_v0.9.0.orig/src/StatisticsStrategy.cpp 2013-01-15 22:40:13.186967442 +0100 ++++ frobby_v0.9.0/src/StatisticsStrategy.cpp 2013-01-15 22:40:33.267100780 +0100 +@@ -140,7 +140,7 @@ + if (_nodeCount == 0) + return 0.0; + else { +- mpz_class q = mpq_class(_subGenSum) / _nodeCount; ++ mpq_class q = mpq_class(_subGenSum) / _nodeCount; + return q.get_d(); + } + } |