Commit f2192c60 authored by Ben Hazelwood's avatar Ben Hazelwood
Browse files

add some warnings to dangerous stuff I need to fix later

parent c8d1ed4e
......@@ -86,7 +86,8 @@ void Timing::compareProgressWithReplicas() {
void Timing::compareBufferWithReplicas(const void *sendbuf, int sendcount, MPI_Datatype sendtype) {
if (getShouldCorruptData()) {
sendcount++;
//TODO can remove const here (assuming data was originally non-const) and corrupt properly, no need for now
sendcount++; // This isn't really that safe either...
setShouldCorruptData(false);
}
......
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