Module:JI ratios: Difference between revisions
m comment out some default args, as _ji_ratios() is the main function to be called |
m testing with smaller default int limit |
||
| Line 28: | Line 28: | ||
-- be omitted by Tenney height, or if no Tenney height is entered, omits | -- be omitted by Tenney height, or if no Tenney height is entered, omits | ||
-- ratios whose complements are missing. | -- ratios whose complements are missing. | ||
local DEFAULT_EQUAVE = rat.new(2) | |||
local DEFAULT_INT_LIMIT = 30 | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 314: | Line 317: | ||
function p._ji_ratios(args) | function p._ji_ratios(args) | ||
-- Args for ease of access | -- Args for ease of access | ||
equave = args["Equave"] or | equave = args["Equave"] or DEFAULT_EQUAVE | ||
int_limit = args["Int Limit"] or | int_limit = args["Int Limit"] or DEFAULT_INT_LIMIT | ||
odd_limit = args["Odd Limit"] | odd_limit = args["Odd Limit"] | ||
prime_limit = args["Prime Limit"] | prime_limit = args["Prime Limit"] | ||