diff --git a/src/functionObjects/field/comfort/comfort.C b/src/functionObjects/field/comfort/comfort.C index e6f4950624..01bce7e1fc 100644 --- a/src/functionObjects/field/comfort/comfort.C +++ b/src/functionObjects/field/comfort/comfort.C @@ -96,7 +96,7 @@ Foam::dimensionedScalar Foam::functionObjects::comfort::Trad() const << "The calculated mean wall radiation temperature is out of the\n" << "bounds specified in EN ISO 7730:2006\n" << "Valid range is 10 degC < T < 40 degC\n" - << "The actual value is: " << Trad - 273.15 << nl << endl; + << "The actual value is: " << Trad.value() - 273.15 << nl << endl; } return Trad;