Skip to content
Snippets Groups Projects
Commit 92c88521 authored by Mark Olesen's avatar Mark Olesen
Browse files

bugfix Pstream::master used as a bool

parent 0061e9ed
No related merge requests found
......@@ -128,7 +128,7 @@ bool Foam::sampledSurfaces::checkFieldTypes()
nFields += grep(symmTensorFields_, fieldTypes);
nFields += grep(tensorFields_, fieldTypes);
if (Pstream::master)
if (Pstream::master())
{
if (debug)
{
......
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