From bedf80a4c01ec5d265fc65114592761d37eeb85c Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Tue, 27 Apr 2010 05:00:45 +0100 Subject: [PATCH] Remove an obsolete comment No functional change. Signed-off-by: Marco Costalba --- src/material.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/material.cpp b/src/material.cpp index fc2f4b7c..0fce07b1 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -72,7 +72,7 @@ namespace { const Color Them = (Us == WHITE ? BLACK : WHITE); return pos.non_pawn_material(Them) == Value(0) && pos.piece_count(Them, PAWN) == 0 - && pos.non_pawn_material(Us) >= RookValueMidgame; + && pos.non_pawn_material(Us) >= RookValueMidgame; } template bool is_KBPsK(const Position& pos) { @@ -229,10 +229,8 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) { // OK, we didn't find any special evaluation function for the current // material configuration. Is there a suitable scaling function? // - // The code below is rather messy, and it could easily get worse later, - // if we decide to add more special cases. We face problems when there - // are several conflicting applicable scaling functions and we need to - // decide which one to use. + // We face problems when there are several conflicting applicable + // scaling functions and we need to decide which one to use. SF* sf; if ((sf = funcs->get(key)) != NULL) -- 2.39.2