Skip to content
Snippets Groups Projects
Commit da11bd74 authored by Bryant Curto's avatar Bryant Curto
Browse files

Fixed off-by-one bug associated with getting Migrator worker ids.

parent 86111faf
No related branches found
No related tags found
No related merge requests found
Pipeline #57404 failed with stage
......@@ -169,7 +169,7 @@ size_t Migrator::getWorkerSysIDs(size_t& numGroups, size_t& numWorkersPerGroup,
for (size_t g = 0; g < numGroups; ++g) {
for (size_t w = 0; w < numWorkersPerGroup; ++w) {
tid[i++] = getWorker(w, g).getSysID();
if (i == tidSize - 1) {
if (i == tidSize) {
goto Finish;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment