Commit 31cf5f75 authored by henry's avatar henry
Browse files

AverageIOField: Corrected the initialisation of the value.

parent 7952f8f2
......@@ -51,7 +51,7 @@ Foam::AverageIOField<Type>::AverageIOField
:
regIOobject(io),
Field<Type>(size),
average_(0)
average_(pTraits<Type>::zero)
{}
......
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