diff options
Diffstat (limited to 'src/recogn.c')
| -rw-r--r-- | src/recogn.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/recogn.c b/src/recogn.c index c8fc856..0ab9514 100644 --- a/src/recogn.c +++ b/src/recogn.c @@ -1318,21 +1318,10 @@ Return value: if (TRUE == ProbeEGTB(ctx, &iScore)) { // - // We have an exact score from EGTB but if it's a mate in N - // we still have to adjust it for the present ply. + // Syzygy WDL probes are win/draw/loss only -- there's no + // mate distance to adjust for the present ply here (see + // EGTB_WIN_SCORE / EGTB_LOSS_SCORE in probe.c). // - if (iScore >= +NMATE) { - iScore -= ctx->uPly; - } - else if (iScore <= -NMATE) { - iScore += ctx->uPly; - } -#ifdef DEBUG - else - { - ASSERT(iScore == 0); // iDrawValue[side] - } -#endif *piScore = iScore; return(RECOGN_EXACT); } |
