From 912d8f80ad5782ee371376f9f5664af3ac21995e Mon Sep 17 00:00:00 2001 From: Antonis Geralis <43617260+planetis-m@users.noreply.github.com> Date: Thu, 29 Oct 2020 18:54:28 +0200 Subject: [PATCH] Fix doc comment for sumKbn (#15769) Co-authored-by: b3liever --- lib/std/sums.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]