We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 914a2dc + b1dfea7 commit 1708b0aCopy full SHA for 1708b0a
src/patch.jl
@@ -14,6 +14,7 @@ GameParameter(x::Int) = GameParameter(Ref(Int32(x)))
14
15
Base.copy(s::CxxWrap.StdLib.UniquePtrAllocated{State}) = deepcopy(s)
16
Base.deepcopy(s::CxxWrap.StdLib.UniquePtrAllocated{State}) = clone(s)
17
+Base.reshape(s::CxxWrap.StdLib.StdVectorAllocated, dims::Int32...) = reshape(s, Int.(dims))
18
19
if Sys.KERNEL == :Linux
20
function apply_action(state, actions::AbstractVector{<:Number})
0 commit comments