QuantEcon/MatchingMarkets.py

Undefined names: to_match_names_m, to_match_names_f

Closed this issue · 1 comments

If verbose is True when this code is run then NameError will be raised.

% flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics

./matchingmarkets/algorithms/DA.py:103:52: F821 undefined name 'to_match_names_m'
                  iter_num, "\n\tTo Match males:", to_match_names_m,
                                                   ^
./matchingmarkets/algorithms/DA.py:105:19: F821 undefined name 'to_match_names_f'
                  to_match_names_f)
                  ^
2     F821 undefined name 'to_match_names_m'
2

Fixed, thanks