Module:JI ratios: Difference between revisions
Finally implement complements-only search option |
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 | ||