From 0dcb32ab1479b76632c0771a023ac40de850a3e5 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Thu, 16 May 2019 21:09:25 +0200 Subject: [PATCH] Fix CTF bonus for large-board version racingkings STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 179 W: 120 L: 32 D: 27 http://35.161.250.236:6543/tests/view/5cddb8176e23db34f4206acd racingkings LTC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 242 W: 149 L: 58 D: 35 http://35.161.250.236:6543/tests/view/5cddb83b6e23db34f4206ad0 --- src/evaluate.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 8bd9ed9..37b86eb 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -901,7 +901,7 @@ namespace { while (ctfPieces) { Square s1 = pop_lsb(&ctfPieces); - Bitboard target_squares = pos.capture_the_flag(Us); + Bitboard target_squares = pos.capture_the_flag(Us) & pos.board_bb(); while (target_squares) { Square s2 = pop_lsb(&target_squares); -- 1.7.0.4