Module:Uniform map: Difference between revisions

m Yet another p...
m Hey look, more forgotten p's
Line 78: Line 78:
end
end
map = p.simple_map(min, prime)          -- Set p-limit map for minimum size
map = p.simple_map(min, prime)          -- Set p-limit map for minimum size
local lb = lowerbound(map)  -- Minimum size for the current map
local lb = p.lowerbound(map)  -- Minimum size for the current map
local ub = upperbound(map)  -- Maximum size for the current map
local ub = p.upperbound(map)  -- Maximum size for the current map
local row = {'Min. size', 'Max. size', '[[Wart notation]]'}
local row = {'Min. size', 'Max. size', '[[Wart notation]]'}
for i=1, #map do
for i=1, #map do
Line 92: Line 92:
table.insert(maptable, row)
table.insert(maptable, row)
map[pbi] = map[pbi] + 1
map[pbi] = map[pbi] + 1
lb = lowerbound(map)
lb = p.lowerbound(map)
ub = upperbound(map)
ub = p.upperbound(map)
end
end
return maptable
return maptable