diff options
author | bd <bdunahu@operationnull.com> | 2024-05-18 23:08:30 -0600 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2024-05-18 23:08:30 -0600 |
commit | f69448ded971deb6a702894499c718e4a26857dd (patch) | |
tree | 18b8d6d8fbe620f3bec8333650b22e08fbb5e367 /prime | |
parent | 5a65e2da159703e20504b7b3a668e65312932394 (diff) |
Finish bubble-sort
Diffstat (limited to 'prime')
-rwxr-xr-x | prime/prime.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prime/prime.scm b/prime/prime.scm index e12dfb4..89915a1 100755 --- a/prime/prime.scm +++ b/prime/prime.scm @@ -14,4 +14,4 @@ by attempting division by number D,D-1,D-2..." #t (if (equal? (remainder n d) 0) #f - (prime-helper n (- d 1))))) + (prime-helper n (1- d))))) |