Set proper naming in Gene.
authorRafał Długołęcki <rafal@dlugolecki.net.pl>
Sun, 22 Mar 2015 09:33:00 +0000 (10:33 +0100)
committerRafał Długołęcki <rafal@dlugolecki.net.pl>
Sun, 22 Mar 2015 09:33:00 +0000 (10:33 +0100)
src/gene.h

index ddd8c7124c2c051d5555baeb01b1fb9e2e25ccac..499ca80643a9f5a428ae167321fa5d2089af67ac 100644 (file)
@@ -6,14 +6,14 @@ namespace genetic {
     template < typename Type >
     class Gene {
     protected:
-        Type type;
+        Type fenotype;
     public:
-        Gene(Type type) {
-            this->type = type;
+        Gene(Type fenotype) {
+            this->fenotype = fenotype;
         }
 
         Type get() {
-            return this->type;
+            return this->fenotype;
         }
     };
 }