From 85e5ea4ea60a918341a112e8e30eaead0d1024b6 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Sat, 26 Sep 2020 11:43:54 +0200 Subject: [PATCH] Adjust endgame evaluation for KSSK makruk LLR: 2.97 (-2.94,2.94) [-10.00,5.00] Total: 12891 W: 944 L: 932 D: 11015 http://www.variantfishtest.org:6543/tests/view/5f5ded636e23db221d9e9184 --- src/material.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/material.cpp b/src/material.cpp index be30d86..097a674 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -73,7 +73,7 @@ namespace { bool is_KXK(const Position& pos, Color us) { return !more_than_one(pos.pieces(~us)) - && pos.non_pawn_material(us) >= RookValueMg; + && pos.non_pawn_material(us) >= std::min(RookValueMg, 2 * SilverValueMg); } bool is_KBPsK(const Position& pos, Color us) { -- 1.7.0.4