From 62686ac4063c94afd281643e12a6346531d33e4f Mon Sep 17 00:00:00 2001 From: evomarc Date: Sat, 10 Nov 2001 06:32:05 +0000 Subject: [PATCH] Added the invalidate() call - that bug was not seem before, because we always used init on newborn genotypes! --- eo/tutorial/Templates/init.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/eo/tutorial/Templates/init.tmpl b/eo/tutorial/Templates/init.tmpl index 96d45b3a..f3c0fbd9 100644 --- a/eo/tutorial/Templates/init.tmpl +++ b/eo/tutorial/Templates/init.tmpl @@ -45,6 +45,7 @@ public: { // START Code of random initialization of an eoMyStruct object // END Code of random initialization of an eoMyStruct object + _genotype.invalidate(); // IMPORTANT in case the _genotype is old } private: