From 775094f9af07917e219663ed8451eff7daefde9a Mon Sep 17 00:00:00 2001 From: tony Date: Wed, 20 Mar 2002 12:45:39 +0000 Subject: [PATCH] Updates. --- src/FDM/JSBSim/filtersjb/FGSummer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FDM/JSBSim/filtersjb/FGSummer.cpp b/src/FDM/JSBSim/filtersjb/FGSummer.cpp index b033e450b..d291ce7cf 100644 --- a/src/FDM/JSBSim/filtersjb/FGSummer.cpp +++ b/src/FDM/JSBSim/filtersjb/FGSummer.cpp @@ -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: " <