[Avida-SVN] r1197 - branches/uml/source/cpu

hjg at myxo.css.msu.edu hjg at myxo.css.msu.edu
Tue Jan 23 08:00:09 PST 2007


Author: hjg
Date: 2007-01-23 11:00:09 -0500 (Tue, 23 Jan 2007)
New Revision: 1197

Modified:
   branches/uml/source/cpu/cHardwareCPU.cc
Log:
Memory limit for Spin & In-memory rep of model for organism

Modified: branches/uml/source/cpu/cHardwareCPU.cc
===================================================================
--- branches/uml/source/cpu/cHardwareCPU.cc	2007-01-16 20:06:48 UTC (rev 1196)
+++ branches/uml/source/cpu/cHardwareCPU.cc	2007-01-23 16:00:09 UTC (rev 1197)
@@ -3547,7 +3547,7 @@
 	ReadLabel();
     GetLabel();
 
-	int trans_pos = GetLabel().AsInt(1);
+	int trans_pos = GetLabel().AsInt(3);
 	
 	if ((trans_pos >= 0) && (trans_pos < organism->NumTrans())) {
 	int label = organism->getTransLabelInPosition(trans_pos);




More information about the Avida-cvs mailing list