[Avida-SVN] r1953 - branches/uml/source/main

dknoester at myxo.css.msu.edu dknoester at myxo.css.msu.edu
Fri Aug 17 05:11:50 PDT 2007


Author: dknoester
Date: 2007-08-17 08:11:50 -0400 (Fri, 17 Aug 2007)
New Revision: 1953

Modified:
   branches/uml/source/main/cStats.cc
Log:
stats fix.

Modified: branches/uml/source/main/cStats.cc
===================================================================
--- branches/uml/source/main/cStats.cc	2007-08-17 01:36:17 UTC (rev 1952)
+++ branches/uml/source/main/cStats.cc	2007-08-17 12:11:50 UTC (rev 1953)
@@ -1012,6 +1012,9 @@
 {
 	cDataFile& df = m_world->GetDataFile(filename);
 
+  // This to force every row to have the same number of columns.
+  if(m_scenario_completion.size()==0) return;
+  
 	df.WriteComment( "Avida uml data\n" );
 	df.WriteComment("the average number of transitions and states per organism");
 	df.WriteTimeStamp();




More information about the Avida-cvs mailing list