Skip to content
Snippets Groups Projects
Commit fc58d517 authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

STYLE: dictionary: use get() method

parent 1fdc8866
Branches
Tags
No related merge requests found
......@@ -70,7 +70,7 @@ Foam::temperatureCoupledBase::temperatureCoupledBase
)
:
patch_(patch),
method_(KMethodTypeNames_.lookup("kappaMethod", dict)),
method_(KMethodTypeNames_.get("kappaMethod", dict)),
kappaName_(dict.lookupOrDefault<word>("kappa", "none")),
alphaAniName_(dict.lookupOrDefault<word>("alphaAni","none"))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment