In Game::EPEC::make_country_QP(unsigned int) definition, Stats->feasiblePolyhedra vector is expanded by 1 due to the use of std::vector<T>::push_back(T&). This might be wrong when using iterativeNash. Fix it to initialize Stats-feasiblePolyhedra to be a nCountr sized vector in finalize() and then only update the appropriate position using std::vector<T>::at(unsigned int)
In
Game::EPEC::make_country_QP(unsigned int)
definition,Stats->feasiblePolyhedra
vector is expanded by 1 due to the use ofstd::vector<T>::push_back(T&)
. This might be wrong when usingiterativeNash
. Fix it to initializeStats-feasiblePolyhedra
to be anCountr
sized vector infinalize()
and then only update the appropriate position usingstd::vector<T>::at(unsigned int)