Skip to content

Commit

Permalink
chore: update engine library
Browse files Browse the repository at this point in the history
  • Loading branch information
b-inary committed Sep 30, 2023
1 parent 5cd8fb3 commit 6c312b1
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 36 deletions.
10 changes: 5 additions & 5 deletions rust/range/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions rust/solver-mt/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions rust/solver-src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,24 +138,24 @@ impl GameManager {
rake_rate,
rake_cap,
flop_bet_sizes: [
BetSizeCandidates::try_from((oop_flop_bet, oop_flop_raise)).unwrap(),
BetSizeCandidates::try_from((ip_flop_bet, ip_flop_raise)).unwrap(),
BetSizeOptions::try_from((oop_flop_bet, oop_flop_raise)).unwrap(),
BetSizeOptions::try_from((ip_flop_bet, ip_flop_raise)).unwrap(),
],
turn_bet_sizes: [
BetSizeCandidates::try_from((oop_turn_bet, oop_turn_raise)).unwrap(),
BetSizeCandidates::try_from((ip_turn_bet, ip_turn_raise)).unwrap(),
BetSizeOptions::try_from((oop_turn_bet, oop_turn_raise)).unwrap(),
BetSizeOptions::try_from((ip_turn_bet, ip_turn_raise)).unwrap(),
],
river_bet_sizes: [
BetSizeCandidates::try_from((oop_river_bet, oop_river_raise)).unwrap(),
BetSizeCandidates::try_from((ip_river_bet, ip_river_raise)).unwrap(),
BetSizeOptions::try_from((oop_river_bet, oop_river_raise)).unwrap(),
BetSizeOptions::try_from((ip_river_bet, ip_river_raise)).unwrap(),
],
turn_donk_sizes: match donk_option {
false => None,
true => DonkSizeCandidates::try_from(oop_turn_donk).ok(),
true => DonkSizeOptions::try_from(oop_turn_donk).ok(),
},
river_donk_sizes: match donk_option {
false => None,
true => DonkSizeCandidates::try_from(oop_river_donk).ok(),
true => DonkSizeOptions::try_from(oop_river_donk).ok(),
},
add_allin_threshold,
force_allin_threshold,
Expand Down
10 changes: 5 additions & 5 deletions rust/solver-st/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions rust/tree/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions rust/tree/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,24 +120,24 @@ impl TreeManager {
rake_rate: 0.0,
rake_cap: 0.0,
flop_bet_sizes: [
BetSizeCandidates::try_from((oop_flop_bet, oop_flop_raise)).unwrap(),
BetSizeCandidates::try_from((ip_flop_bet, ip_flop_raise)).unwrap(),
BetSizeOptions::try_from((oop_flop_bet, oop_flop_raise)).unwrap(),
BetSizeOptions::try_from((ip_flop_bet, ip_flop_raise)).unwrap(),
],
turn_bet_sizes: [
BetSizeCandidates::try_from((oop_turn_bet, oop_turn_raise)).unwrap(),
BetSizeCandidates::try_from((ip_turn_bet, ip_turn_raise)).unwrap(),
BetSizeOptions::try_from((oop_turn_bet, oop_turn_raise)).unwrap(),
BetSizeOptions::try_from((ip_turn_bet, ip_turn_raise)).unwrap(),
],
river_bet_sizes: [
BetSizeCandidates::try_from((oop_river_bet, oop_river_raise)).unwrap(),
BetSizeCandidates::try_from((ip_river_bet, ip_river_raise)).unwrap(),
BetSizeOptions::try_from((oop_river_bet, oop_river_raise)).unwrap(),
BetSizeOptions::try_from((ip_river_bet, ip_river_raise)).unwrap(),
],
turn_donk_sizes: match donk_option {
false => None,
true => DonkSizeCandidates::try_from(oop_turn_donk).ok(),
true => DonkSizeOptions::try_from(oop_turn_donk).ok(),
},
river_donk_sizes: match donk_option {
false => None,
true => DonkSizeCandidates::try_from(oop_river_donk).ok(),
true => DonkSizeOptions::try_from(oop_river_donk).ok(),
},
add_allin_threshold,
force_allin_threshold,
Expand Down

0 comments on commit 6c312b1

Please sign in to comment.