Commit 972190e9 authored by mattijs's avatar mattijs
Browse files

incorrect non-blocking transfer

parent 958059fb
......@@ -241,7 +241,7 @@ void Foam::mapDistribute::distribute
Pstream::nonBlocking,
domain,
reinterpret_cast<const char*>(subField.begin()),
subField.size()
subField.size()*sizeof(T)
);
}
}
......@@ -262,7 +262,7 @@ void Foam::mapDistribute::distribute
Pstream::nonBlocking,
domain,
reinterpret_cast<char*>(recvFields[domain].begin()),
recvFields[domain].size()
recvFields[domain].size()*sizeof(T)
);
}
}
......
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