fix type
This commit is contained in:
parent
80290a85f9
commit
3985ffaac4
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ namespace Hanabi
|
|||
|
||||
if (prompt.find("actions") == 0)
|
||||
{
|
||||
std::vector<std::pair<Hanabi::Action, std::optional<boost::rational<Hanabi::probability_base_type>>>> reasonable_actions = game.state->get_reasonable_actions();
|
||||
std::vector<std::pair<Hanabi::Action, std::optional<Hanabi::probability_t>>> reasonable_actions = game.state->get_reasonable_actions();
|
||||
std::sort(reasonable_actions.begin(), reasonable_actions.end(),
|
||||
[](std::pair<Hanabi::Action, std::optional<probability_t>> const & left,
|
||||
std::pair<Hanabi::Action, std::optional<probability_t>> const & right){
|
||||
|
|
Loading…
Reference in a new issue