From f08625d64decbbbd9fe92d14a91befd89873bfb3 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 22 Mar 2004 10:59:08 +0000 Subject: [PATCH] A hack to prevent a devide by zero sotuation. Should we still leave the balloon in CVS without WeatherCM? --- src/FDM/Balloon/BalloonSim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FDM/Balloon/BalloonSim.cpp b/src/FDM/Balloon/BalloonSim.cpp index 968bf12cf..76f9a5240 100644 --- a/src/FDM/Balloon/BalloonSim.cpp +++ b/src/FDM/Balloon/BalloonSim.cpp @@ -170,7 +170,7 @@ void balloon::update() // I realy don't think there is a solution for this without WeatherCM // but this is a hack, and it's working -- EMH - double mAir = 0; + double mAir = 1; float Q = 0; // gain of energy by heating: -- 2.39.5