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

hjg at myxo.css.msu.edu hjg at myxo.css.msu.edu
Mon Jun 25 10:31:02 PDT 2007


Author: hjg
Date: 2007-06-25 13:31:01 -0400 (Mon, 25 Jun 2007)
New Revision: 1715

Modified:
   branches/uml/source/main/cTaskLib.cc
Log:


Modified: branches/uml/source/main/cTaskLib.cc
===================================================================
--- branches/uml/source/main/cTaskLib.cc	2007-06-25 17:12:22 UTC (rev 1714)
+++ branches/uml/source/main/cTaskLib.cc	2007-06-25 17:31:01 UTC (rev 1715)
@@ -3000,6 +3000,7 @@
 	int status=0;
 	int num_witness = 0;
 	
+	ctx.task_success_complete = false;
 	std::string cmd = "cp tmp.pr tmp-witness.pr" ;
 	if(system(cmd.c_str())!=0) return 0.0;
 	
@@ -3020,6 +3021,8 @@
 //	if(system(strstrm.str().c_str())!=0) return 0.0;
 			
 //	m_world->GetStats().PanPassed();
+
+	ctx.task_success_complete = num_witness;
 	return num_witness;
 }
 




More information about the Avida-cvs mailing list