Set proper naming in Gene.
[genetic.git] / 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;
         }
     };
 }