summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-10-18 21:23:50 +0200
committerEike Rathke <erack@redhat.com>2013-10-18 21:25:58 +0200
commit2d40520a57c49d93097e11079713c073d35a9491 (patch)
tree429a93990706e193ddc9c0c0ff2ec33585b5b7c5
parentac0dc48b63d93155304dfc44bd8f83adc4ae0825 (diff)
removed senseless comments
Change-Id: I38dcca9d513e9122ffca81f448ad3181fd7a9817
-rw-r--r--sc/source/core/tool/interpr3.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index 3699a3990e84..62568eebfb5c 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -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 )