Module:MOS in EDO allperiods: Difference between revisions
Added back parse_entries function, even though it isn't used here |
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. | 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; | ||