[Avida-SVN] r1416 - branches/dkdev/source/main
dknoester at myxo.css.msu.edu
dknoester at myxo.css.msu.edu
Tue Mar 20 13:08:28 PDT 2007
Author: dknoester
Date: 2007-03-20 16:08:28 -0400 (Tue, 20 Mar 2007)
New Revision: 1416
Modified:
branches/dkdev/source/main/cStats.cc
Log:
germline logging bugfix
Modified: branches/dkdev/source/main/cStats.cc
===================================================================
--- branches/dkdev/source/main/cStats.cc 2007-03-20 20:08:17 UTC (rev 1415)
+++ branches/dkdev/source/main/cStats.cc 2007-03-20 20:08:28 UTC (rev 1416)
@@ -894,7 +894,7 @@
boost::write_graphviz(outfile, m_topo_lastNetwork, topo_vertex_writer(m_topo_lastNetwork));
outfile.close();
- netfile.clear();
+ netfile.str("");
netfile << "./data/germ-" << GetUpdate() << ".genome";
std::ofstream germfile(netfile.str().c_str());
germfile << m_topo_germline.GetLatest().AsString() << std::endl;
More information about the Avida-cvs
mailing list