From 513f159be1c632c19aae9b46f0a6279bd3d3e0ac Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Tue, 30 Apr 2024 22:46:28 +0700 Subject: [PATCH] update --- src/mcts.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcts.jl b/src/mcts.jl index c3edf1d..c02cdf6 100644 --- a/src/mcts.jl +++ b/src/mcts.jl @@ -131,7 +131,7 @@ function expand(a::T1, node::MCTSNode, state::T2, decisionMaker::Function, state @show thoughtDict newstate = MCTStransition(a, node.state, thoughtDict) #[] Implement your transition function - if newstate ∉ keys(node.children) # BUG should be "key of the newstate" here not newstate + if newstate ∉ keys(node.children)# BUG should be "key of the newstate" here not newstate itself statetype = typeof(state) # BUG should be node.children[key of newstate] here not newstate. may be a uuid