summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/minitest/benchmark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/minitest/benchmark.rb b/tool/lib/minitest/benchmark.rb
index b3f2bc28b3..547b516c4b 100644
--- a/tool/lib/minitest/benchmark.rb
+++ b/tool/lib/minitest/benchmark.rb
@@ -219,7 +219,7 @@ class MiniTest::Unit # :nodoc:
##
# Takes an array of x/y pairs and calculates the general R^2 value.
#
- # See: http://en.wikipedia.org/wiki/Coefficient_of_determination
+ # See: https://en.wikipedia.org/wiki/Coefficient_of_determination
def fit_error xys
y_bar = sigma(xys) { |x, y| y } / xys.size.to_f