From 54cd3fa6828d608c9216e9d323d73f2526dff8d0 Mon Sep 17 00:00:00 2001 From: Jeremiah <4462211+jeremiahpslewis@users.noreply.github.com> Date: Wed, 4 Sep 2024 22:29:23 +0200 Subject: [PATCH] Update patch.jl --- src/patch.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patch.jl b/src/patch.jl index 3e0112f..f2b873f 100644 --- a/src/patch.jl +++ b/src/patch.jl @@ -127,7 +127,7 @@ chance_outcomes(state::CxxWrap.StdLib.UniquePtrAllocated{State}) = chance_outcom returns(state::CxxWrap.StdLib.UniquePtrAllocated{State}) = returns(state[]) -min_utility(::CxxWrap.StdLib.SharedPtrAllocated{CxxWrap.CxxWrapCore.CxxConst{Game}}) = min_utility(game[][]) +min_utility(game::CxxWrap.StdLib.SharedPtrAllocated{CxxWrap.CxxWrapCore.CxxConst{Game}}) = min_utility(game[][]) max_utility(game::CxxWrap.StdLib.SharedPtrAllocated{Game}) = max_utility(game[])