From 3f53a4d15ae2d0c908aefc87dfcdaf88d2fd3aee Mon Sep 17 00:00:00 2001 From: David Parsons <david.parsons@inria.fr> Date: Fri, 7 Apr 2023 10:12:41 +0200 Subject: [PATCH] remove commented code --- src/libaevol/phenotype/PhenotypicTargetHandler.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/libaevol/phenotype/PhenotypicTargetHandler.cpp b/src/libaevol/phenotype/PhenotypicTargetHandler.cpp index 8a7f8428e..abf7e765d 100644 --- a/src/libaevol/phenotype/PhenotypicTargetHandler.cpp +++ b/src/libaevol/phenotype/PhenotypicTargetHandler.cpp @@ -36,7 +36,6 @@ #include "PhenotypicTargetHandler.h" #include "ExpSetup.h" -#include "legacy/phenotype/fuzzy/HybridFuzzy.h" #include "Utils.h" #include <iostream> @@ -148,16 +147,7 @@ void PhenotypicTargetHandler::BuildPhenotypicTarget() { for (const Gaussian &g: current_gaussians_) new_point.y += g.compute_y(new_point.x); - -// printf("Add point [%f %d] = %f\n",new_point.x,i,new_point.y); - -// if (FuzzyFactory::fuzzyFactory->get_fuzzy_flavor() == 0) { - phenotypic_target_->fuzzy()->add_point(new_point.x, new_point.y); -// printf("Point added [%d %f] = %f\n",i,new_point.x,((Fuzzy*)phenotypic_target_->fuzzy())->y(new_point.x)); -// } else { -// ((HybridFuzzy *) phenotypic_target_->fuzzy())->points()[i] = new_point.y; -//// printf("Point added [%d %f] = %f\n",i,new_point.x,((HybridFuzzy*)phenotypic_target_->fuzzy())->points()[i]); -// } + phenotypic_target_->fuzzy()->add_point(new_point.x, new_point.y); } } -- GitLab