]> git.mxchange.org Git - flightgear.git/commitdiff
Updates.
authortony <tony>
Wed, 20 Mar 2002 12:45:39 +0000 (12:45 +0000)
committertony <tony>
Wed, 20 Mar 2002 12:45:39 +0000 (12:45 +0000)
src/FDM/JSBSim/filtersjb/FGSummer.cpp

index b033e450b7f895a6d95c3ec9b51941e9d307ca7c..d291ce7cf6640f6aea0d37e3b3994dbf850b5656 100644 (file)
@@ -54,6 +54,7 @@ FGSummer::FGSummer(FGFCS* fcs, FGConfigFile* AC_cfg) : FGFCSComponent(fcs),
   eParam tmpInputIndex;
 
   clip = false;
+  clipmin = clipmax = 0.0;
   Bias = 0.0;
   InputIndices.clear();
   InputTypes.clear();
@@ -181,7 +182,7 @@ void FGSummer::Debug(int from)
           break;
         }
       }
-      if (clipmax > clipmin) cout << "      CLIPTO: " << clipmin 
+      if (clip) cout << "      CLIPTO: " << clipmin 
                                   << ", " << clipmax << endl;
       if (IsOutput) cout << "      OUTPUT: " <<sOutputIdx <<  endl;
     }