diff options
author | Pixel <pixel@nobis-crew.org> | 2009-12-25 15:17:18 +0100 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-12-25 15:17:18 +0100 |
commit | 4a5125c1ccb121bfe739c26926fe8ed7de634d32 (patch) | |
tree | 36445c43b1949be9a5f7c58231508184a9d1f99b | |
parent | b4d032edc4aabbb80b8bc3386a820848df3391ac (diff) |
Fixing the binary ops output.
-rw-r--r-- | dalos-binaryops.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dalos-binaryops.lua b/dalos-binaryops.lua index c739450..e4c6ed9 100644 --- a/dalos-binaryops.lua +++ b/dalos-binaryops.lua @@ -51,7 +51,7 @@ Maximize: %b[No,Yes]{Check if you want to maximize the output} local t1, r1 = self.h1:read(count) local t2, r2 = self.h2:read(count) - local r = self.extra.maximize and math.max(r1, r2) or math.min(r1, r2) + local r = self.maximize and math.max(r1, r2) or math.min(r1, r2) self.offset = self.offset + r if r == 0 then self.got_eof = true return 0 end local t = {} |