diff --git a/fairpyx/algorithms/heterogeneous_matroid_constraints_algorithms.py b/fairpyx/algorithms/heterogeneous_matroid_constraints_algorithms.py index d00f311..ed25d5a 100644 --- a/fairpyx/algorithms/heterogeneous_matroid_constraints_algorithms.py +++ b/fairpyx/algorithms/heterogeneous_matroid_constraints_algorithms.py @@ -1203,7 +1203,7 @@ def check_required_keys(required_keys): elif function_name == 'helper_create_agent_item_bipartite_graph': check_required_keys(['agents', 'items', 'valuation_func']) - validate_capacities(kwargs['agents']) + validate_duplicate(kwargs['agents']) validate_duplicate(kwargs['items']) if not callable(kwargs['valuation_func']): raise ValueError("valuation_func must be callable.")