Fix a logic bug in TranspositionTable::store()
authorMarco Costalba <mcostalba@gmail.com>
Mon, 10 Nov 2008 14:15:40 +0000 (15:15 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 10 Nov 2008 18:19:40 +0000 (19:19 +0100)
commit34b1d0538b3112ebdef57090d0fba5cbfc3e51fb
treebc9a5fab3032e8db881cb200ee21453d021ac1b8
parentcdf1f23bc5770c5d9e109dd254dcc54eee383464
Fix a logic bug in TranspositionTable::store()

Make the logic work as advertised in the function
description.

Still a fallback from TT cleanup.

This should be less serious then the one in retrieve(),
but it's still a bug.

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