From a590537eb07fb1e7b6c4ad6fe2434f3b21d11e9d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20D=C5=82ugo=C5=82=C4=99cki?= Date: Sun, 22 Mar 2015 10:33:00 +0100 Subject: [PATCH] Set proper naming in Gene. --- src/gene.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } }; } -- 2.30.2