From 40ad35acf764872063e851c722b89621ccf57795 Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 6 Jun 2009 16:11:57 +0000 Subject: [PATCH] disambiguate pow usage --- src/Environment/environment.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Environment/environment.cxx b/src/Environment/environment.cxx index a75d6ebb3..74e1509dc 100644 --- a/src/Environment/environment.cxx +++ b/src/Environment/environment.cxx @@ -722,7 +722,7 @@ FGEnvironment::_recalc_relative_humidity () */ double a = (7.5 * dewpoint_degc) / ( 237.7 + dewpoint_degc); double b = (7.5 * temperature_degc) / ( 237.7 + temperature_degc); - relative_humidity = 100 * pow(10,a-b); + relative_humidity = 100 * pow(10.0,a-b); } bool