Anders GIDENSTAM: "Do not leak uninitialized values to the rest
of the computation." (forward port from jsbsim/cvs)
This commit is contained in:
parent
dd6be7f76d
commit
32d3f6308c
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue