diff options
Diffstat (limited to 'include/negamax.c')
| -rw-r--r-- | include/negamax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/negamax.c b/include/negamax.c index 0f2c450..0ec40e5 100644 --- a/include/negamax.c +++ b/include/negamax.c @@ -83,7 +83,7 @@ static float negamax(tak_state_p state, const uint8_t cur_depth, tt_entry_t *entry = tt_seek(hash); // CAUTION: ≥ breaks search stability (vs =) on shallow depths - if (entry != NULL && entry->depth >= cur_depth) { + if (entry != NULL && entry->depth == cur_depth) { if (entry->flag == TT_EXACT) { return entry->value; } else if (entry->flag == TT_LOWERBOUND && entry->value > alpha) { |
