Skip to content
Snippets Groups Projects
Commit 9cc38f81 authored by andy's avatar andy
Browse files

BUG: Corrected DB lookup for turb fields function object

parent a15b241d
Branches
Tags
No related merge requests found
......@@ -41,7 +41,7 @@ void Foam::turbulenceFields::processField
if (obr_.foundObject<FieldType>(scopedName))
{
FieldType& fld =
const_cast<FieldType&>(obr_.lookupObject<FieldType>(fieldName));
const_cast<FieldType&>(obr_.lookupObject<FieldType>(scopedName));
fld == tvalue();
}
else if (obr_.found(scopedName))
......
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