AverageIOField: Corrected the initialisation of the value.

This commit is contained in:
henry 2010-02-03 14:53:31 +00:00
parent 7952f8f2fe
commit 31cf5f75ad

View File

@ -51,7 +51,7 @@ Foam::AverageIOField<Type>::AverageIOField
:
regIOobject(io),
Field<Type>(size),
average_(0)
average_(pTraits<Type>::zero)
{}