From f83f1592659a0e06182e3017aafbd84ba83935fb Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sun, 23 Aug 2026 13:12:04 -0700 Subject: Integrate new syzygy egtb code, lose the old Nalimov code. --- src/recogn.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'src/recogn.c') 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); } -- cgit v1.3