frobby-gmp-5.1.patch 482 B

12345678910111213
  1. diff -U 3 -dHrN frobby_v0.9.0.orig/src/StatisticsStrategy.cpp frobby_v0.9.0/src/StatisticsStrategy.cpp
  2. --- frobby_v0.9.0.orig/src/StatisticsStrategy.cpp 2013-01-15 22:40:13.186967442 +0100
  3. +++ frobby_v0.9.0/src/StatisticsStrategy.cpp 2013-01-15 22:40:33.267100780 +0100
  4. @@ -140,7 +140,7 @@
  5. if (_nodeCount == 0)
  6. return 0.0;
  7. else {
  8. - mpz_class q = mpq_class(_subGenSum) / _nodeCount;
  9. + mpq_class q = mpq_class(_subGenSum) / _nodeCount;
  10. return q.get_d();
  11. }
  12. }