From f232620f49502b85fae245bb24a71f3c484c1069 Mon Sep 17 00:00:00 2001 From: boufaras Date: Wed, 6 Jul 2011 11:48:11 +0000 Subject: [PATCH] moDummyNeighborhoodTest => hasNeighbor() : add case i==1 git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2283 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/paradiseo-mo/test/moTestClass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/paradiseo-mo/test/moTestClass.h b/trunk/paradiseo-mo/test/moTestClass.h index b31b15d7c..f9ec930ea 100644 --- a/trunk/paradiseo-mo/test/moTestClass.h +++ b/trunk/paradiseo-mo/test/moTestClass.h @@ -85,7 +85,7 @@ public: virtual bool hasNeighbor(EOT & _solution) { bool res; - if (i%3==0) + if (i%3==0 || i==1) res=false; else res=true;