QuantEcon / MatchingMarkets.py

Python toolbox for simulation of matching markets in economics
BSD 3-Clause "New" or "Revised" License
107 stars 41 forks source link

Undefined names: to_match_names_m, to_match_names_f #5

Closed cclauss closed 3 years ago

cclauss commented 4 years ago

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
VHRanger commented 3 years ago

Fixed, thanks