Skip to content

Commit

Permalink
so much a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
saolsen committed Feb 14, 2025
1 parent c7fe265 commit 057f2e0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tazar/tazar_ai.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,7 @@ Command ai_mc_select_command(MCState *state, Game *game, Command *commands, int
}


const Node zero_node = (Node) {
.kind = NODE_NONE,
.parent_i = 0,
.first_child_i = 0,
.num_children = 0,
.num_children_to_expand = 0,
.visits = 0,
.total_reward = 0,
.probability = 0,
};
const Node zero_node;

void push_node(Node **buf, uintptr_t *len, uintptr_t *cap, Node n) {
if (*len >= *cap) {
Expand Down

0 comments on commit 057f2e0

Please sign in to comment.