From d3930237e8b4f86bc9288a8a007e9c13be992905 Mon Sep 17 00:00:00 2001 From: David Parsons <david.parsons@inria.fr> Date: Thu, 21 Sep 2023 10:48:48 +0200 Subject: [PATCH] remove stale fn FuzzyFactory_7::stats() --- src/libaevol/7/fuzzy/FuzzyFactory_7.cpp | 7 ------- src/libaevol/7/fuzzy/FuzzyFactory_7.h | 1 - 2 files changed, 8 deletions(-) diff --git a/src/libaevol/7/fuzzy/FuzzyFactory_7.cpp b/src/libaevol/7/fuzzy/FuzzyFactory_7.cpp index e8436762c..86795e3ee 100644 --- a/src/libaevol/7/fuzzy/FuzzyFactory_7.cpp +++ b/src/libaevol/7/fuzzy/FuzzyFactory_7.cpp @@ -100,13 +100,6 @@ AbstractFuzzy* FuzzyFactory_7::createFuzzy() { } } -void FuzzyFactory_7::stats() { - int total_length_ = - ((flavor_ == FuzzyFlavor::DISCRETE_DOUBLE_TABLE) ? PHENOTYPE_VECTOR_SIZE : 1) * list_unused_fuzzy_.size(); - printf("FUZZY_FACTORY_STATS -- Number of Fuzzys %ld - Combined size %d elements\n",list_unused_fuzzy_.size(), - total_length_); -} - AbstractFuzzy* FuzzyFactory_7::get_fuzzy() { AbstractFuzzy* pop = nullptr; diff --git a/src/libaevol/7/fuzzy/FuzzyFactory_7.h b/src/libaevol/7/fuzzy/FuzzyFactory_7.h index 99aeddcc0..11e587d31 100644 --- a/src/libaevol/7/fuzzy/FuzzyFactory_7.h +++ b/src/libaevol/7/fuzzy/FuzzyFactory_7.h @@ -59,7 +59,6 @@ class FuzzyFactory_7 { ~FuzzyFactory_7(); void init(int pop_size); - void stats(); AbstractFuzzy* get_fuzzy(); void give_back(AbstractFuzzy* fuzzy); -- GitLab