]> git.sesse.net Git - stockfish/commit
Removed an incorrect assert() statement in search.cpp, which asserted that
authorTord Romstad <tord@glaurungchess.com>
Fri, 17 Jul 2009 07:12:59 +0000 (09:12 +0200)
committerTord Romstad <tord@glaurungchess.com>
Fri, 17 Jul 2009 07:12:59 +0000 (09:12 +0200)
commit342c8c883c2a3c58d7670600e27baf39f5309438
treebf44781ab1ae58df64bd347b72b3e2137221dce0
parent297c12e595ebc33e11be73ee4b188326418acb4f
Removed an incorrect assert() statement in search.cpp, which asserted that
a static eval cached in the transposition table would always equal the static
eval of the current position. This is in general not true, because the cached
value could be from a previous search with different evaluation parameter
settings, or from a search from the opposite side (Stockfish's evaluation
function is assymmetric by default).
src/search.cpp