[Avida-cvs] avida/current/source/main CVS commit

Dusan Misevic dule123 at users.sourceforge.net
Fri Dec 3 12:22:58 PST 2004


Update of /cvsroot/avida/avida/current/source/main
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15950/source/main

Modified Files:
	analyze.cc 
Log Message:
Fixing a bug introduced into the code on 10/25.

Usally there are three registers, call them reg1, reg2, reg3. However,
number of registers variable was changed to 4, so certain functions 
expected a 4th one to exist too. For example, every time a compliment to
reg3 was requested, reg4 would be returned, which doesn't really exist
and probably contains 0. Needless to say, this is bad.

As a result, runs done with a fresh version of avida between 10/25 and
now would have ran differently. Organisms from previous versions would 
possibly show up as broken. Bottom line, if you did anything with this
flawed version, you may want to think about doing it again.

Dule






More information about the Avida-cvs mailing list