X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGWeatherUtils.h;h=505fcdc58cc81103daa0d03449cdab997444a683;hb=7d3448294bc7486af3f4c1f0ff5c8493b03ffc90;hp=59283d3e466de893441e4702c54c1891c9ad37d9;hpb=df26bde4c4f1a6dc69f5a785b33fdef24480a2c4;p=flightgear.git diff --git a/src/WeatherCM/FGWeatherUtils.h b/src/WeatherCM/FGWeatherUtils.h index 59283d3e4..505fcdc58 100644 --- a/src/WeatherCM/FGWeatherUtils.h +++ b/src/WeatherCM/FGWeatherUtils.h @@ -198,7 +198,7 @@ inline WeatherPrecision JSBsim2SIdensity (const WeatherPrecision JSBsim) inline WeatherPrecision psf2Pascal (const WeatherPrecision psf) { - return psf / 0.0020885434; //lbs / square foot (used in JSBsim) + return psf / 0.020885434; //lbs / square foot (used in JSBsim) } inline WeatherPrecision Kelvin2Rankine (const WeatherPrecision kelvin) @@ -213,7 +213,7 @@ inline WeatherPrecision SIdensity2JSBsim (const WeatherPrecision SIdensity) inline WeatherPrecision Pascal2psf (const WeatherPrecision Pascal) { - return 0.0020885434 * Pascal; //lbs / square feet (used in JSBsim) + return 0.020885434 * Pascal; //lbs / square feet (used in JSBsim) } /****************************************************************************/