From: curt Date: Thu, 23 Dec 1999 17:35:10 +0000 (+0000) Subject: Fixed abs() vs. fabs() typo. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=46b65bcab2a1910767f9aa2fda70ea9897f178ed;p=flightgear.git Fixed abs() vs. fabs() typo. --- diff --git a/src/WeatherCM/FGPhysicalProperties.cpp b/src/WeatherCM/FGPhysicalProperties.cpp index 966b321c0..2802ebbbf 100644 --- a/src/WeatherCM/FGPhysicalProperties.cpp +++ b/src/WeatherCM/FGPhysicalProperties.cpp @@ -143,7 +143,7 @@ ostream& operator<< ( ostream& out, const FGPhysicalProperties2D& p ) inline double F(const WeatherPrecision factor, const WeatherPrecision a, const WeatherPrecision b, const WeatherPrecision r, const WeatherPrecision x) { const double c = 1.0 / (-b + a * r); - return factor * c * ( 1.0 / (r + x) + a * c * log(abs((r + x) * (b + a * x))) ); + return factor * c * ( 1.0 / (r + x) + a * c * log(fabs((r + x) * (b + a * x))) ); } WeatherPrecision FGPhysicalProperties::AirPressureAt(const WeatherPrecision x) const