mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected constructors for clang
This commit is contained in:
@ -198,7 +198,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
const label cellI = args.optionLookupOrDefault("cell", 0);
|
||||
|
||||
tensorField mI = momentOfInertia::meshInertia(mesh);
|
||||
tensorField mI(momentOfInertia::meshInertia(mesh));
|
||||
|
||||
tensor& J = mI[cellI];
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ int main(int argc, char *argv[])
|
||||
pointPatchVectorField::calculatedType()
|
||||
);
|
||||
|
||||
pointVectorField V = U + 2*U;
|
||||
pointVectorField V(U + 2*U);
|
||||
|
||||
Info<< "End\n" << endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user