From 46b65bcab2a1910767f9aa2fda70ea9897f178ed Mon Sep 17 00:00:00 2001
From: curt <curt>
Date: Thu, 23 Dec 1999 17:35:10 +0000
Subject: [PATCH] Fixed abs() vs. fabs() typo.

---
 src/WeatherCM/FGPhysicalProperties.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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