Permalink
Browse files

BUG: missing Pstream arg in stream constructors (mantis #190)

  • Loading branch information...
1 parent cfa81aa commit b71a1a8c86fcdf8ed1a07e517fca4b4c5433f202 andy committed May 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/OpenFOAM/containers/Lists/SortableList/ParSortableList.C
View
4 src/OpenFOAM/containers/Lists/SortableList/ParSortableList.C
@@ -113,7 +113,7 @@ void Foam::ParSortableList<Type>::checkAndSend
}
{
- OPstream toSlave(destProcI);
+ OPstream toSlave(Pstream::blocking, destProcI);
toSlave << values << indices;
}
}
@@ -310,7 +310,7 @@ void Foam::ParSortableList<Type>::sort()
Pout<< "Receiving from " << procI << endl;
}
- IPstream fromSlave(procI);
+ IPstream fromSlave(Pstream::blocking, procI);
fromSlave >> recValues >> recIndices;

0 comments on commit b71a1a8

Please sign in to comment.