Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b71a1a8c86fcdf8ed1a07e517fca4b4c5433f202 1 parent cfa81aa
andy authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.