1
0
Fork 0

Anders GIDENSTAM: "Do not leak uninitialized values to the rest

of the computation."  (forward port from jsbsim/cvs)
This commit is contained in:
mfranz 2008-12-07 19:47:48 +00:00
parent dd6be7f76d
commit 32d3f6308c

View file

@ -59,6 +59,7 @@ FGTank::FGTank(FGFDMExec* exec, Element* el, int tank_number)
Element* element_Grain;
Area = 1.0;
Temperature = -9999.0;
Ixx = Iyy = Izz = 0.0;
Auxiliary = exec->GetAuxiliary();
Radius = Capacity = Contents = Standpipe = Length = InnerRadius = 0.0;
PropertyManager = exec->GetPropertyManager();