removed senseless comments
Change-Id: I38dcca9d513e9122ffca81f448ad3181fd7a9817
This commit is contained in:
@@ -3850,7 +3850,7 @@ void ScInterpreter::CalculatePearsonCovar( bool _bPearson, bool _bStexy, bool _b
|
||||
}
|
||||
}
|
||||
}
|
||||
if (fCount < (_bStexy ? 3.0 : (_bSample ? 2.0 : 1.0))) // fCount==1 is handled by checking denominator later on
|
||||
if (fCount < (_bStexy ? 3.0 : (_bSample ? 2.0 : 1.0)))
|
||||
PushNoValue();
|
||||
else
|
||||
{
|
||||
@@ -3872,7 +3872,7 @@ void ScInterpreter::CalculatePearsonCovar( bool _bPearson, bool _bStexy, bool _b
|
||||
}
|
||||
}
|
||||
}
|
||||
} // for (SCSIZE i = 0; i < nC1; i++)
|
||||
}
|
||||
if ( _bPearson )
|
||||
{
|
||||
if (fSumSqrDeltaX == 0.0 || ( !_bStexy && fSumSqrDeltaY == 0.0) )
|
||||
@@ -3882,7 +3882,7 @@ void ScInterpreter::CalculatePearsonCovar( bool _bPearson, bool _bStexy, bool _b
|
||||
fSumDeltaXDeltaY / fSumSqrDeltaX) / (fCount-2)));
|
||||
else
|
||||
PushDouble( fSumDeltaXDeltaY / sqrt( fSumSqrDeltaX * fSumSqrDeltaY));
|
||||
} // if ( _bPearson )
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( _bSample )
|
||||
|
Reference in New Issue
Block a user