mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required
This commit is contained in:
@ -147,7 +147,7 @@ int main(int argc, char *argv[])
|
||||
const volVectorField& fld = mesh.C();
|
||||
|
||||
// 1. Construct cell data in compact addressing
|
||||
List<point> compactFld(map.constructSize(), pTraits<point>::zero);
|
||||
List<point> compactFld(map.constructSize(), Zero);
|
||||
|
||||
// Insert my internal values
|
||||
forAll(fld, cellI)
|
||||
|
||||
Reference in New Issue
Block a user