Commit d42852a1 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: work-around compiler bug for lookupOrDefault

parent bca79742
......@@ -124,8 +124,7 @@ Foam::PatchInteractionModel<CloudType>::PatchInteractionModel
)
:
SubModelBase<CloudType>(owner, dict, type),
// UName_(this->coeffDict().lookupOrDefault<word>("UName", "U"))
UName_(this->coeffDict().lookup("UName"))
UName_(this->coeffDict().lookupOrDefault("UName", word("U")))
{}
......
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