summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAntonis Geralis <43617260+planetis-m@users.noreply.github.com>2020-10-29 18:54:28 +0200
committerGitHub <noreply@github.com>2020-10-29 17:54:28 +0100
commit912d8f80ad5782ee371376f9f5664af3ac21995e (patch)
tree24ef1bd9cec68e35434ed80627158c0464d86fa4
parent87a60c1b28a777e35701c2f934fc1361818a216e (diff)
downloadNim-912d8f80ad5782ee371376f9f5664af3ac21995e.tar.gz
Fix doc comment for sumKbn (#15769)
Co-authored-by: b3liever <b3liever@yandex.com>
-rw-r--r--lib/std/sums.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/sums.nim b/lib/std/sums.nim
index a48360180..0f8c5ebfb 100644
--- a/lib/std/sums.nim
+++ b/lib/std/sums.nim
@@ -10,7 +10,7 @@
 
 
 func sumKbn*[T](x: openArray[T]): T =
-  ## Kahan (compensated) summation: O(1) error growth, at the expense
+  ## Kahan-Babuška-Neumaier summation: O(1) error growth, at the expense
   ## of a considerable increase in computational expense.
   if len(x) == 0: return
   var sum = x[0]