Skip to content
Snippets Groups Projects
Commit 6285afda authored by mattijs's avatar mattijs
Browse files

BUG: timeActivatedFileUpdate: fix setting of distributed from decomposeParDict.

Fixes #420.
parent 498fa94c
No related branches found
No related tags found
No related merge requests found
......@@ -702,8 +702,9 @@ void Foam::argList::parse
decompDict.lookup("numberOfSubdomains")
);
if (decompDict.lookupOrDefault("distributed", distributed_))
if (decompDict.lookupOrDefault("distributed", false))
{
distributed_ = true;
decompDict.lookup("roots") >> roots;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment