Skip to content

Commit 9ec8cf5

Browse files
authored
Merge pull request #103 from kobanium/ver-9.0
Add reset flag operation
2 parents a973eb1 + 3c2611e commit 9ec8cf5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ZobristHash.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@ InitializeHash( void )
117117
void
118118
InitializeUctHash( void )
119119
{
120-
oldest_move = 1;
121120
used = 0;
122-
121+
enough_size = true;
122+
oldest_move = 1;
123+
123124
for (unsigned int i = 0; i < uct_hash_size; i++) {
124125
node_hash[i].flag = false;
125126
node_hash[i].hash = 0;

0 commit comments

Comments
 (0)