Commit 8bf53bc3 authored by dpugmire's avatar dpugmire
Browse files

Cleanup per review.

parent 9c9db23d
......@@ -173,8 +173,8 @@ void Messenger::CheckRequests(const std::map<RequestTagPair, char*>& buffers,
if (err != MPI_SUCCESS)
throw vtkm::cont::ErrorFilterExecution("Error with MPI_Testsome in Messenger::RecvData");
//Add the req/tag to the return vector.
reqTags.reserve(static_cast<std::size_t>(num));
for (int i = 0; i < num; i++)
reqTags.push_back(RequestTagPair(copy[indices[i]], tags[indices[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