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

BUG: fieldAverage - read state properties using getDict. Fixes #358

parent 0869f832
No related merge requests found
......@@ -235,7 +235,7 @@ void Foam::functionObjects::fieldAverage::readAveragingProperties()
if (foundProperty(fieldName))
{
dictionary fieldDict;
getProperty(fieldName, fieldDict);
getDict(fieldName, fieldDict);
totalIter_[fieldi] = readLabel(fieldDict.lookup("totalIter"));
totalTime_[fieldi] = readScalar(fieldDict.lookup("totalTime"));
......
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