Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2af4923d authored by ROUZAUD-CORNABAS Jonathan's avatar ROUZAUD-CORNABAS Jonathan
Browse files

Fix autoregression bugs

parent 9040ef0d
No related branches found
No related tags found
No related merge requests found
...@@ -684,7 +684,7 @@ void ExpManager::run_evolution() { ...@@ -684,7 +684,7 @@ void ExpManager::run_evolution() {
// For each generation // For each generation
while (true) { // termination condition is into the loop while (true) { // termination condition is into the loop
if (AeTime::time() % 100 == 0) { if (AeTime::time() % 1 == 0) {
printf( printf(
"============================== %" PRId64 " ==============================\n", "============================== %" PRId64 " ==============================\n",
AeTime::time()); AeTime::time());
......
...@@ -489,7 +489,7 @@ void Fuzzy::add_point(ProteinConcentration x, ProteinConcentration y) ...@@ -489,7 +489,7 @@ void Fuzzy::add_point(ProteinConcentration x, ProteinConcentration y)
void Fuzzy::print() const void Fuzzy::print() const
{ {
for (const Point& p : points_) for (const Point& p : points_)
printf("[%f : %f] ",p.x,p.y); printf("[%f : %f] \n",p.x,p.y);
printf("\n"); printf("\n");
} }
} // namespace aevol } // namespace aevol
...@@ -137,7 +137,7 @@ PhenotypicTargetHandler::~PhenotypicTargetHandler() { ...@@ -137,7 +137,7 @@ PhenotypicTargetHandler::~PhenotypicTargetHandler() {
// ============================================================================ // ============================================================================
void PhenotypicTargetHandler::BuildPhenotypicTarget() { void PhenotypicTargetHandler::BuildPhenotypicTarget() {
// NB : Extreme points (at abscissa X_MIN and X_MAX) will be generated, we need to erase the list first // NB : Extreme points (at abscissa X_MIN and X_MAX) will be generated, we need to erase the list first
phenotypic_target_->fuzzy()->reset(); phenotypic_target_->fuzzy()->clear();
// Generate sample points from gaussians // Generate sample points from gaussians
if (not current_gaussians_.empty()) { if (not current_gaussians_.empty()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment