diff options
author | KikooDX <kikoodx@paranoici.org> | 2021-04-11 22:49:18 +0200 |
---|---|---|
committer | KikooDX <kikoodx@paranoici.org> | 2021-04-11 22:49:18 +0200 |
commit | 6a3e1a000adc6be933121c23f589f2ebb6de71c3 (patch) | |
tree | ec0acd9554c80e8e66914de5cd196ab6c88c936c | |
parent | a213f61cf2f88fa43e554491362097c0515d15f1 (diff) | |
download | disk-mayhem-6a3e1a000adc6be933121c23f589f2ebb6de71c3.tar.gz |
fix: function statement in src/sign.lua was incorrect
Thanks to demodulatingswan for the report.
-rw-r--r-- | src/sign.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sign.lua b/src/sign.lua index 1a0b063..fa405b2 100644 --- a/src/sign.lua +++ b/src/sign.lua @@ -1,3 +1,3 @@ -return function +return function(n) return n > 0 and 1 or n < 0 and -1 or 0 end |