Commit 898e0eb4 authored by mattijs's avatar mattijs
Browse files

BUG: timeActivatedFileUpdate: fix setting of distributed from decomposeParDict.

Fixes #420.
parent b6a57b45
......@@ -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;
}
}
......
Supports Markdown
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