summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com>2021-12-13 01:09:03 +0000
committerAidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com>2021-12-13 01:09:03 +0000
commitb5f34c03cfec59625135deb725788392433c2102 (patch)
treecb81798b608bc68dc54cc2824e9d871bae849f82 /src
parentf9d9cd9931c82f0d61ddee529bdeb57705b0f84d (diff)
downloadesotericFORTRAN-b5f34c03cfec59625135deb725788392433c2102.tar.gz
esotericFORTRAN-b5f34c03cfec59625135deb725788392433c2102.zip
Added to chapter 3 of the report
Diffstat (limited to 'src')
-rw-r--r--src/examples/sieve.ft2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/sieve.ft b/src/examples/sieve.ft
index e771009..cdd308d 100644
--- a/src/examples/sieve.ft
+++ b/src/examples/sieve.ft
@@ -28,7 +28,7 @@ program sieveOfEratosthenes
!output primes found
print*,"Primes below ",n
- do i=2,n
+ do i=2,n-1
if checks(i)==1 then
print*,i
end if