AverageIOField: Corrected the initialisation of the value.
This commit is contained in:
parent
7952f8f2fe
commit
31cf5f75ad
@ -51,7 +51,7 @@ Foam::AverageIOField<Type>::AverageIOField
|
||||
:
|
||||
regIOobject(io),
|
||||
Field<Type>(size),
|
||||
average_(0)
|
||||
average_(pTraits<Type>::zero)
|
||||
{}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user