Skip to content

Commit

Permalink
fix bug w x y -> objectives in tradeoff.tradeoff
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Imel authored and Nathaniel Imel committed Nov 22, 2023
1 parent 1d10c5e commit 1c1befc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/altk/effcomm/tradeoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def tradeoff(
lang.data[prop] = properties[prop](lang)
points.append((lang.data[x], lang.data[y]))

dominating_languages = pareto_optimal_languages(languages, x, y, unique=True)
dominating_languages = pareto_optimal_languages(languages, objectives=[properties[x], properties[y]], unique=True)
dominant_points = [(lang.data[x], lang.data[y]) for lang in dominating_languages]

if frontier is not None:
Expand Down

0 comments on commit 1c1befc

Please sign in to comment.