disambiguate pow usage
This commit is contained in:
parent
4b2d677220
commit
40ad35acf7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue