From 17994eb3eda9d2be9aad55dae41562ce13531d99 Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 15 Aug 2019 15:51:34 -0400 Subject: add upstream 10.15 --- zen/basic_math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zen/basic_math.h') diff --git a/zen/basic_math.h b/zen/basic_math.h index 75f5d3b8..b9be28be 100644 --- a/zen/basic_math.h +++ b/zen/basic_math.h @@ -254,7 +254,7 @@ double median(RandomAccessIterator first, RandomAccessIterator last) //note: inv template inline double mad(RandomAccessIterator first, RandomAccessIterator last) //note: invalidates input range! { - //http://en.wikipedia.org/wiki/Median_absolute_deviation + //https://en.wikipedia.org/wiki/Median_absolute_deviation const size_t n = last - first; if (n == 0) return 0; @@ -277,7 +277,7 @@ double mad(RandomAccessIterator first, RandomAccessIterator last) //note: invali template inline double stdDeviation(InputIterator first, InputIterator last, double* arithMean) { - //implementation minimizing rounding errors, see: http://en.wikipedia.org/wiki/Standard_deviation + //implementation minimizing rounding errors, see: https://en.wikipedia.org/wiki/Standard_deviation //combined with technique avoiding overflow, see: http://www.netlib.org/blas/dnrm2.f -> only 10% performance degradation size_t n = 0; -- cgit