diff options
author | Antonis Geralis <43617260+planetis-m@users.noreply.github.com> | 2020-10-29 18:54:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 17:54:28 +0100 |
commit | 912d8f80ad5782ee371376f9f5664af3ac21995e (patch) | |
tree | 24ef1bd9cec68e35434ed80627158c0464d86fa4 /lib/std/sums.nim | |
parent | 87a60c1b28a777e35701c2f934fc1361818a216e (diff) | |
download | Nim-912d8f80ad5782ee371376f9f5664af3ac21995e.tar.gz |
Fix doc comment for sumKbn (#15769)
Co-authored-by: b3liever <b3liever@yandex.com>
Diffstat (limited to 'lib/std/sums.nim')
-rw-r--r-- | lib/std/sums.nim | 2 |
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] |