diff options
author | majortom6 <tombarrett@siu.edu> | 2017-02-26 11:29:51 -0600 |
---|---|---|
committer | Tom Barrett <tombarrett@siu.edu> | 2017-03-07 13:23:42 -0600 |
commit | 547eb0694484aec2f599967e788e4229ac08cf6e (patch) | |
tree | dc8769e944dd32de2651e0614b12e39a010b279e | |
parent | 97da09996e9c2aaa6f524879a15fbab4b1d01dec (diff) |
woops
-rw-r--r-- | src/dna.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dna.cpp b/src/dna.cpp index 6968c90..8cef6e0 100644 --- a/src/dna.cpp +++ b/src/dna.cpp @@ -39,7 +39,7 @@ DNA DNA::combine(DNA D) N.bite = (bite + D.bite)/2; N.expectedPregnancyTime = (expectedPregnancyTime + D.expectedPregnancyTime)/2; N.expectedAge = (expectedAge + D.expectedAge)/2; - N.growAmount = (growAmount + D.growAmount)/2 + N.growAmount = (growAmount + D.growAmount)/2; N.reach = (reach + D.reach)/2; N.speed = (speed + D.speed)/2; N.mutationPercent = (mutationPercent + D.mutationPercent)/2; |