Skip to content

Commit 7a3c5e9

Browse files
Merge pull request #22 from JuliaReinforcementLearning/jeremiahpslewis-patch-2
Update patch.jl
2 parents cf029cc + 9576e51 commit 7a3c5e9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OpenSpiel"
22
uuid = "ceb70bd2-fe3f-44f0-b81f-41608acaf2f2"
33
authors = ["Jun Tian <[email protected]>"]
4-
version = "0.2.2"
4+
version = "0.2.3"
55

66
[deps]
77
CxxWrap = "1f15a43c-97ca-5a2a-ae31-89f07a497df4"

src/patch.jl

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ information_state_string(state::CxxWrap.StdLib.UniquePtrAllocated{State}, i) = i
9292

9393
information_state_tensor(state::CxxWrap.StdLib.UniquePtrAllocated{State}, i::Int64) = information_state_tensor(state[], i)
9494

95+
information_state_tensor_shape(game::CxxWrap.StdLib.SharedPtrAllocated{Game}) = information_state_tensor_shape(game[])
96+
9597
get_uniform_policy(game::CxxWrap.StdLib.SharedPtrAllocated{Game}) = get_uniform_policy(game[])
9698

9799
record_batched_trajectories(game::CxxWrap.StdLib.SharedPtrAllocated{Game}, p::CxxWrap.StdLib.StdVectorAllocated{TabularPolicy}, m::StdMapAllocated{StdString, Int32}, i::Int64, b::Bool, i2::Int64, i3::Int64) = record_batched_trajectories(game[], p, m, i, b, i2, i3)

0 commit comments

Comments
 (0)