Commit c3f09874 authored by Davis King's avatar Davis King

Added a comment

parent 91481a44
...@@ -108,8 +108,10 @@ namespace dlib ...@@ -108,8 +108,10 @@ namespace dlib
serialize(item, sout); serialize(item, sout);
for (unsigned long i = 0; i < number_of_nodes(); ++i) for (unsigned long i = 0; i < number_of_nodes(); ++i)
{ {
// Don't send to yourself.
if (i == node_id()) if (i == node_id())
continue; continue;
send_data(sout.str(), i); send_data(sout.str(), i);
} }
} }
......
Markdown is supported
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