mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 11:31:33 +01:00
CuckooChess: Small bug fix in transposition table replacement logic.
This commit is contained in:
parent
d4ddd88aae
commit
34d52f62f2
|
@ -166,9 +166,9 @@ public class TranspositionTable {
|
|||
if ((ent.key == key) && (ent.getDepth() > depth) && (ent.type == type)) {
|
||||
if (type == TTEntry.T_EXACT) {
|
||||
doStore = false;
|
||||
} else if ((type == TTEntry.T_GE) && (sm.score <= ent.score)) {
|
||||
} else if ((type == TTEntry.T_GE) && (sm.score <= ent.getScore(ply))) {
|
||||
doStore = false;
|
||||
} else if ((type == TTEntry.T_LE) && (sm.score >= ent.score)) {
|
||||
} else if ((type == TTEntry.T_LE) && (sm.score >= ent.getScore(ply))) {
|
||||
doStore = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user