match SAR debug level to gobal verbose level

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
Thorsten Liebig 2013-01-30 14:13:54 +01:00
parent 081038db62
commit c22665e529
2 changed files with 2 additions and 1 deletions

View File

@ -270,6 +270,7 @@ void ProcessFieldsSAR::DumpFDData()
else else
{ {
SAR_Calculation SAR_Calc; SAR_Calculation SAR_Calc;
SAR_Calc.SetDebugLevel(g_settings.GetVerboseLevel());
SAR_Calc.SetNumLines(numLines); SAR_Calc.SetNumLines(numLines);
if (m_DumpType == SAR_LOCAL_DUMP) if (m_DumpType == SAR_LOCAL_DUMP)
SAR_Calc.SetAveragingMass(0); SAR_Calc.SetAveragingMass(0);

View File

@ -24,7 +24,7 @@ SAR_Calculation::SAR_Calculation()
{ {
m_Vx_Used = NULL; m_Vx_Used = NULL;
m_Vx_Valid = NULL; m_Vx_Valid = NULL;
m_DebugLevel = 1; m_DebugLevel = 0;
SetAveragingMethod(SIMPLE); SetAveragingMethod(SIMPLE);
Reset(); Reset();
} }