Commit bce59580 authored by Chad Barb's avatar Chad Barb
Browse files

*** empty log message ***

parent 7e419f2f
...@@ -620,9 +620,12 @@ int main( int argc, char ** argv ) ...@@ -620,9 +620,12 @@ int main( int argc, char ** argv )
{ {
if (verbose) { printf("\nYour solution is as follows:\n"); } if (verbose) { printf("\nYour solution is as follows:\n"); }
for (int x = 0; x < vnodes; x++) { for (int x = 0; x < vnodes; x++) {
printf("%s mapsTo %s\n", if (pnodeNames.find( pool[0].vnode_mapping[x] ) == pnodeNames.end()) {
vnodeNames[x].c_str(), pnodeNames[ pool[0].vnode_mapping[x] ] = "CRAP";
pnodeNames[pool[0].vnode_mapping[x]].c_str() ); }
printf("%s mapsTo %s\n",
vnodeNames[x].c_str(),
pnodeNames[pool[0].vnode_mapping[x]].c_str() );
} }
printf("\n"); printf("\n");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment