You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-mathematics/frobby/files/frobby-gmp-5.1.patch

13 lines
482 B

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();
}
}