From: Rafał Długołęcki Date: Sun, 22 Mar 2015 09:33:00 +0000 (+0100) Subject: Set proper naming in Gene. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=a590537eb07fb1e7b6c4ad6fe2434f3b21d11e9d;p=genetic.git Set proper naming in Gene. --- diff --git a/src/gene.h b/src/gene.h index ddd8c71..499ca80 100644 --- a/src/gene.h +++ b/src/gene.h @@ -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; } }; }