We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4157428 commit 7b2699bCopy full SHA for 7b2699b
big-num/omeganum.lua
@@ -1102,7 +1102,7 @@ function Big:arrow(arrows, other)
1102
if (self:gt(limit)) then
1103
r = self:clone()
1104
local w = bigs[r]
1105
- w[arrows + 1] = w[arrows + 1] - 1
+ w[arrows + 1] = (w[arrows + 1] or 0) - 1
1106
if arrows < 25000 then --arbitrary, normalisation is just extra steps when you get high enough
1107
r:normalize()
1108
end
0 commit comments