From 755672d19ea3bb99ae11649a2bc5e4b1eb0f84c8 Mon Sep 17 00:00:00 2001 From: liefooga Date: Thu, 21 Feb 2008 14:29:37 +0000 Subject: [PATCH] island corrected git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@993 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/paradiseo-peo/src/peoAsyncIslandMig.h | 2 +- trunk/paradiseo-peo/src/peoData.h | 2 +- trunk/paradiseo-peo/src/peoSyncIslandMig.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/paradiseo-peo/src/peoAsyncIslandMig.h b/trunk/paradiseo-peo/src/peoAsyncIslandMig.h index 5917eafb2..fe0970714 100644 --- a/trunk/paradiseo-peo/src/peoAsyncIslandMig.h +++ b/trunk/paradiseo-peo/src/peoAsyncIslandMig.h @@ -186,7 +186,7 @@ template< class TYPESELECT, class TYPEREPLACE> void peoAsyncIslandMig< TYPESELE template< class TYPESELECT , class TYPEREPLACE> void peoAsyncIslandMig< TYPESELECT , TYPEREPLACE > :: operator()() { - if (cont.check()) + if (! cont.check()) { emigrate(); diff --git a/trunk/paradiseo-peo/src/peoData.h b/trunk/paradiseo-peo/src/peoData.h index 4596976db..f64ffffe7 100644 --- a/trunk/paradiseo-peo/src/peoData.h +++ b/trunk/paradiseo-peo/src/peoData.h @@ -74,7 +74,7 @@ template < class EOT> class eoContinuator : public continuator {} //! @brief Virtual function of check - //! @return true if the algorithm must continue + //! @return false if the algorithm must continue virtual bool check() { return cont(pop); diff --git a/trunk/paradiseo-peo/src/peoSyncIslandMig.h b/trunk/paradiseo-peo/src/peoSyncIslandMig.h index 25d61408c..d435839da 100644 --- a/trunk/paradiseo-peo/src/peoSyncIslandMig.h +++ b/trunk/paradiseo-peo/src/peoSyncIslandMig.h @@ -203,7 +203,7 @@ template< class TYPESELECT, class TYPEREPLACE > void peoSyncIslandMig< TYPESELEC template< class TYPESELECT, class TYPEREPLACE > void peoSyncIslandMig< TYPESELECT , TYPEREPLACE > :: operator()() { - if ( cont.check() ) + if (! cont.check() ) { explicitPassive = standbyMigration = false; topology.setNeighbors( this, in, out );