correction of the parallel transformation

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@745 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
canape 2007-10-25 13:44:57 +00:00
commit 4d885cc29a
2 changed files with 19 additions and 6 deletions

View file

@ -149,8 +149,8 @@ template< class EOT > void peoParaSGATransform< EOT > :: unpackResult() {
:: unpack( pop->operator[]( sidx++ ) );
:: unpack( pop->operator[]( sidx ) );
num_term += 2;
if( num_term == pop->size() ) {
// Can be used with a odd size
if( num_term == 2*(pop->size()/2) ) {
getOwner()->setActive();
resume();