diff --git a/src/interface.jl b/src/interface.jl index 69b8717..3fb3bcf 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -130,10 +130,14 @@ function runMCTS( push!(highValueStateList, take!(highValueState)) end - return (root=root, - bestNextState=bestNextState.state, - bestTerminalState=bestTerminalState.state, - highValueStateList=highValueStateList) + result = ( + root=root, + bestNextState=bestNextState.state, + bestTerminalState=bestTerminalState.state, + highValueStateList=highValueStateList + ) + + return result end """ Search the best action to take for a given state and task