Re-enable TT.insert_pv()

This time make sure that valuable TTentries are not overwritten.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski
2009-12-08 19:19:13 +02:00
committed by Marco Costalba
parent d0b8bc5fdf
commit b056e5d40a
2 changed files with 4 additions and 2 deletions

View File

@@ -743,7 +743,7 @@ namespace {
// Write PV to transposition table, in case the relevant entries have
// been overwritten during the search.
//TT.insert_pv(p, ss[0].pv);
TT.insert_pv(p, ss[0].pv);
if (AbortSearch)
break; // Value cannot be trusted. Break out immediately!