mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 06:10:28 +01:00
CuckooChess: Fixed small bug in storing and logging of depth zero evaluation scores.
This commit is contained in:
parent
7cfae75cb2
commit
a1746f75dd
|
@ -531,7 +531,7 @@ public class Search {
|
|||
}
|
||||
emptyMove.score = score;
|
||||
tt.insert(hKey, emptyMove, type, ply, depth, q0Eval);
|
||||
if (log != null) log.logNodeEnd(sti.nodeIdx, score, type, evalScore, hKey);
|
||||
if (log != null) log.logNodeEnd(sti.nodeIdx, score, type, q0Eval, hKey);
|
||||
return score;
|
||||
}
|
||||
|
||||
|
@ -546,8 +546,8 @@ public class Search {
|
|||
int score = quiesce(alpha-razorMargin, beta-razorMargin, ply, 0, inCheck);
|
||||
if (score <= alpha-razorMargin) {
|
||||
emptyMove.score = score;
|
||||
tt.insert(hKey, emptyMove, TTEntry.T_LE, ply, depth, evalScore);
|
||||
if (log != null) log.logNodeEnd(sti.nodeIdx, score, TTEntry.T_LE, evalScore, hKey);
|
||||
tt.insert(hKey, emptyMove, TTEntry.T_LE, ply, depth, q0Eval);
|
||||
if (log != null) log.logNodeEnd(sti.nodeIdx, score, TTEntry.T_LE, q0Eval, hKey);
|
||||
return score;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user