From 4b4da6c330dd1ebbb78faa6e109506d3d5a0d925 Mon Sep 17 00:00:00 2001 From: rraustad Date: Thu, 22 Aug 2024 22:27:52 -0400 Subject: [PATCH] log to log1p to see what diffs look like --- src/EnergyPlus/ConvectionCoefficients.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EnergyPlus/ConvectionCoefficients.cc b/src/EnergyPlus/ConvectionCoefficients.cc index d4b28755744..a03524cbf4e 100644 --- a/src/EnergyPlus/ConvectionCoefficients.cc +++ b/src/EnergyPlus/ConvectionCoefficients.cc @@ -6299,7 +6299,7 @@ Real64 CalcClearRoof(EnergyPlusData &state, Real64 Rf = RoughnessMultiplier[(int)RoughnessIndex]; if (Rex > 0.1) { // avoid zero and crazy small denominators - Real64 tmp = std::log(1.0 + GrLn / pow_2(Rex)); + Real64 tmp = std::log1p(GrLn / pow_2(Rex)); eta = tmp / (1.0 + tmp); } else { eta = 1.0; // forced convection gone because no wind