From f1cc8164ad7eeb5c6721400b1cef55e151ec6bcc Mon Sep 17 00:00:00 2001
From: Martin Beseda <martin.beseda@vsb.cz>
Date: Tue, 22 Jan 2019 15:05:46 +0100
Subject: [PATCH] FIX: Fixed Particle swarm method

---
 src/LearningMethods/ParticleSwarm.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/LearningMethods/ParticleSwarm.cpp b/src/LearningMethods/ParticleSwarm.cpp
index 65325dbc..3aadd29d 100644
--- a/src/LearningMethods/ParticleSwarm.cpp
+++ b/src/LearningMethods/ParticleSwarm.cpp
@@ -408,6 +408,7 @@ namespace lib4neuro {
 //
 //    this->f->eval( this->get_solution() );
 
+        ef.eval( this->get_parameters() );
 
         delete centroid;
     }
-- 
GitLab