Module:JI ratios: Difference between revisions

Ganaram inukshuk (talk | contribs)
Finally implement complements-only search option
Ganaram inukshuk (talk | contribs)
No edit summary
Line 86: Line 86:
local a, b
local a, b
a, b = rat.as_pair(complement)
a, b = rat.as_pair(complement)
if math.max(a,b) <= fine_search_args["Int Limit"] then
if math.max(a,b) <= fine_search_args["Int Limit"] and rat.tenney_height(complement) <= fine_search_args["Tenney Height"] then
table.insert(filtered_ratios, ratios[i])
table.insert(filtered_ratios, ratios[i])
end
end