diff options
Diffstat (limited to 'src/mongo/db/pipeline/accumulator_std_dev.cpp')
-rw-r--r-- | src/mongo/db/pipeline/accumulator_std_dev.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/accumulator_std_dev.cpp b/src/mongo/db/pipeline/accumulator_std_dev.cpp index dc696e82ea5..e2208d92ff0 100644 --- a/src/mongo/db/pipeline/accumulator_std_dev.cpp +++ b/src/mongo/db/pipeline/accumulator_std_dev.cpp @@ -62,7 +62,7 @@ void AccumulatorStdDev::processInternal(const Value& input, bool merging) { const double val = input.getDouble(); // This is an implementation of the following algorithm: - // http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Online_algorithm + // https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_online_algorithm _count += 1; const double delta = val - _mean; if (delta != 0.0) { |