mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
AverageIOField: Corrected the initialisation of the value.
This commit is contained in:
@ -51,7 +51,7 @@ Foam::AverageIOField<Type>::AverageIOField
|
|||||||
:
|
:
|
||||||
regIOobject(io),
|
regIOobject(io),
|
||||||
Field<Type>(size),
|
Field<Type>(size),
|
||||||
average_(0)
|
average_(pTraits<Type>::zero)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user