Skip to content
Snippets Groups Projects
Commit 34f837e2 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

small change.


git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@1147 0d966ed9-3843-0410-af09-ebfb50bd7c74
parent d61f0be0
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ class Parallel {
if(_buff)
{
BufferType& buff = *_buff;
if(size > buff.size()) buff.resize(size);
if(size != buff.size()) buff.resize(size);
// reset read and write counters
for(size_t i=0; i<size; ++i) buff[i].clear();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment