diff options
Diffstat (limited to 'src/searchsup.c')
| -rw-r--r-- | src/searchsup.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/searchsup.c b/src/searchsup.c index 4e6a0ed..89ad729 100644 --- a/src/searchsup.c +++ b/src/searchsup.c @@ -479,9 +479,13 @@ Return value: ASSERT(IS_ESCAPING_CHECK(mv)); iMoveScore = iRoughEval + ComputeMoveScore(ctx, mv, uMoveNum); - // One legal move in reply to check... + // One legal move in reply to check... threshold doubled + // 2026-09-06, same stopgap reasoning as search.c's qsearch + // check-extension gate (board_representation/EVAL.md section + // 9) -- was ">1", stale against CountKingSafetyDefects' old + // CHECK_VECTOR-based scale. if (ONE_LEGAL_MOVE(ctx, ctx->uPly - 1) && - CountKingSafetyDefects(&ctx->sPosition, uColor) > 1) + CountKingSafetyDefects(&ctx->sPosition, uColor) > 2) { *piExtend += (QUARTER_PLY + HALF_PLY * |
