In qsearch update TT only if returning from stand pat
authorMarco Costalba <mcostalba@gmail.com>
Tue, 24 Mar 2009 10:26:43 +0000 (11:26 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 24 Mar 2009 10:26:43 +0000 (11:26 +0100)
commit095a96b46119ab47f9b56fb00b1831da552fad2a
treeb6937bee6ee604e1220e998e0cbebf5ba2b50694
parent72af519e7ff93ca3524f82db1d429002d2d9ea72
In qsearch update TT only if returning from stand pat

This is the only "correct" exact value we can store.

Otherwise there could be spurious failed high/low nodes.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp