From 5da0d1cf6f093f759f37d27e19d7a5ea7ef41b81 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 14 Sep 2021 08:48:53 +0100 Subject: [PATCH] functionObjects::comfort: Corrected for clang --- src/functionObjects/field/comfort/comfort.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionObjects/field/comfort/comfort.C b/src/functionObjects/field/comfort/comfort.C index be894e6ed2..e6f4950624 100644 --- a/src/functionObjects/field/comfort/comfort.C +++ b/src/functionObjects/field/comfort/comfort.C @@ -425,7 +425,7 @@ bool Foam::functionObjects::comfort::execute() const dimensionedScalar C1("C1", dimVelocity, 3.14); // Limit the velocity field to the values given in EN ISO 7733 - volScalarField Umag = mag(lookupObject("U")); + volScalarField Umag(mag(lookupObject("U"))); Umag.maxMin(Umin, Umax); // Calculate the turbulent intensity if turbulent kinetic energy field k