From 348cae4a9a1722d9bf2bdd1c6f89a2c9fd20cf17 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Thu, 10 Jul 2025 14:49:47 +0200 Subject: [PATCH] Fix logical error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ada9f15..7803602 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ an array, and then pick a random index for that array. The algorithm used here, however, will generate a random number between zero and the number of lines read, every time a line is read. Then, if that number is -greater than one, the line will be taken as the resulting line, for that moment. +smaller than one, the line will be taken as the resulting line, for that moment. Of course, when more lines are read after that, any line can be picked in that fashion, _where the chance the line is picked is still equal for evey line_.