[Avida-SVN] r1719 - development/source/tools
brysonda at myxo.css.msu.edu
brysonda at myxo.css.msu.edu
Mon Jun 25 21:51:20 PDT 2007
Author: brysonda
Date: 2007-06-26 00:51:20 -0400 (Tue, 26 Jun 2007)
New Revision: 1719
Modified:
development/source/tools/cMerit.cc
Log:
Beware of land-mine debugging code. Revert cMerit changes from r1716.
Modified: development/source/tools/cMerit.cc
===================================================================
--- development/source/tools/cMerit.cc 2007-06-26 04:48:17 UTC (rev 1718)
+++ development/source/tools/cMerit.cc 2007-06-26 04:51:20 UTC (rev 1719)
@@ -10,8 +10,6 @@
#include "cMerit.h"
-#include <cmath>
-
using namespace std;
@@ -32,7 +30,7 @@
value = in_value;
- double mant = frexp(round(value), &bits);
+ double mant = frexp(value, &bits);
if (bits > max_bits)
offset = bits - max_bits;
More information about the Avida-cvs
mailing list