git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2077 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
937b66ce4b
commit
b850eb8340
1 changed files with 7 additions and 8 deletions
|
|
@ -174,8 +174,7 @@ public:
|
||||||
mapping[id + k * neighborhoodSize] = _indices[k];
|
mapping[id + k * neighborhoodSize] = _indices[k];
|
||||||
}
|
}
|
||||||
|
|
||||||
mapping[id + Kswap * neighborhoodSize]
|
mapping[id + Kswap * neighborhoodSize] = _indices[Kswap]++;
|
||||||
= _indices[Kswap]++;
|
|
||||||
id++;
|
id++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -195,9 +194,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compute the next combination of mapping indices
|
* Compute the next combination of mapping indexes
|
||||||
* @param _indices the current combination of indices
|
* @param _indices the current combination of indexes
|
||||||
* @param _indice compute next combination of indices from this index
|
* @param _indice compute next combination of indexes from this index
|
||||||
*/
|
*/
|
||||||
bool nextIndices(unsigned int* _indices, int _indice) {
|
bool nextIndices(unsigned int* _indices, int _indice) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue