Skip to content

Commit

Permalink
Update patch.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiahpslewis authored Sep 4, 2024
1 parent 8132da3 commit b4c1809
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/patch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ end

is_chance_node(state::CxxWrap.StdLib.UniquePtrAllocated{State}) = is_chance_node(state[])

new_initial_state(game::CxxWrap.StdLib.SharedPtrAllocated{Game}) = new_initial_state(game[])

new_initial_state(game::CxxWrap.StdLib.SharedPtrAllocated{CxxWrap.CxxWrapCore.CxxConst{Game}}) = new_initial_state(game[])
legal_actions(state::CxxWrap.StdLib.UniquePtrAllocated{State}) = legal_actions(state[])

child(state::CxxWrap.StdLib.UniquePtrAllocated{State}, i::Int64) = child(state[], i)
Expand Down

0 comments on commit b4c1809

Please sign in to comment.