summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-11-13 19:08:15 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-11-13 19:08:15 +0200
commit89558d4ddb0e6c7c03a89368ecee106243361024 (patch)
treeed0625f041f0069ebc3d0c5ca3c13736ff45b90e
parent835006eb03caeae86ef84d094f5b878cf16aad47 (diff)
downloadgcd-89558d4ddb0e6c7c03a89368ecee106243361024.tar.gz
Update Lua
-rwxr-xr-xgcd.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcd.lua b/gcd.lua
index 43cfad9..fe7c893 100755
--- a/gcd.lua
+++ b/gcd.lua
@@ -21,5 +21,7 @@ function gcdn(ns)
return r
end
-print(gcdn(arg))
+if #arg ~= 0 then
+ print(gcdn(arg))
+end