index
:
gcd
master
The Greatest Common Divisor in many languages and tools
Igor Pashev
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
gcd.f90
1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcd.f90 b/gcd.f90
index c17c61c..d95d3d3 100644
--- a/
gcd.f90
+++ b/
gcd.f90
@@ -12,6 +12,7 @@ program GCD
character(len=20) :: tmpstr
n = command_argument_count()
+ if (n == 0) stop
allocate (ns(n))