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

hjg at myxo.css.msu.edu hjg at myxo.css.msu.edu
Thu May 1 19:47:16 PDT 2008


Author: hjg
Date: 2008-05-01 22:47:15 -0400 (Thu, 01 May 2008)
New Revision: 2574

Modified:
   branches/uml/source/main/cUMLModel.cc
   branches/uml/source/main/cUMLModel.h
Log:


Modified: branches/uml/source/main/cUMLModel.cc
===================================================================
--- branches/uml/source/main/cUMLModel.cc	2008-05-02 02:37:12 UTC (rev 2573)
+++ branches/uml/source/main/cUMLModel.cc	2008-05-02 02:47:15 UTC (rev 2574)
@@ -513,7 +513,7 @@
 	// Save bonus info.
 	scenario_completion.resize(scenarios.size());
 	std::string current_alt_set = scenarios[0].alt_set_name;
-	double percent_scenario_complete = 0.0;
+	percent_scenario_complete = 0.0;
 	double current_alt_set_percent_complete = 0.0;
 	double current_alt_set_max_bonus = 0;
 	int max_alt_set_id = 0;

Modified: branches/uml/source/main/cUMLModel.h
===================================================================
--- branches/uml/source/main/cUMLModel.h	2008-05-02 02:37:12 UTC (rev 2573)
+++ branches/uml/source/main/cUMLModel.h	2008-05-02 02:47:15 UTC (rev 2574)
@@ -133,7 +133,7 @@
 	// Mode 1 = contribute to interest + print
 	// Mode 2 = forbid unrelated + print
 	int relatedClassMode;
-	int percent_scenario_complete;
+	double percent_scenario_complete;
 	
   // The following are set once per Avida experiment, when the first cUMLModel is constructed:
   static bool _cfgLoaded; //!< Whether or not we've already loaded seed-model.cfg.




More information about the Avida-cvs mailing list