Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Another minor bug fix.
  • Loading branch information
Ronald de Man committed Jul 8, 2016
1 parent 6856817 commit c6b2dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/tbprobe.cpp
Expand Up @@ -213,7 +213,7 @@ static int probe_dtz_table(Position& pos, int wdl, int *success)

if (DTZ_table[0].key1 != key && DTZ_table[0].key2 != key) {
for (i = 1; i < DTZ_ENTRIES; i++)
if (DTZ_table[i].key1 == key) break;
if (DTZ_table[i].key1 == key || DTZ_table[i].key2 == key) break;
if (i < DTZ_ENTRIES) {
struct DTZTableEntry table_entry = DTZ_table[i];
for (; i > 0; i--)
Expand Down

0 comments on commit c6b2dfe

Please sign in to comment.