Module:MOS in EDO allperiods: Difference between revisions

Ganaram inukshuk (talk | contribs)
Added back parse_entries function, even though it isn't used here
Ganaram inukshuk (talk | contribs)
Corrected spelling of gcd function
Line 66: Line 66:
-- gen and comp have a gcd > 1; if show_subsets is set to true, then
-- gen and comp have a gcd > 1; if show_subsets is set to true, then
-- show them anyway
-- show them anyway
local gcd = utils.gcd_(gen, comp)
local gcd = utils._gcd(gen, comp)
if gcd ~= 1 and not show_subsets then
if gcd ~= 1 and not show_subsets then
local subset_edo = edo / gcd;
local subset_edo = edo / gcd;