From 8141bdd179da8f36c04f99d51812b19bbd1a8efd Mon Sep 17 00:00:00 2001 From: Eduardo Caceres Date: Fri, 21 Sep 2018 23:18:46 +0200 Subject: [PATCH] Fix two typos in comments Note by snicolet: I use this non-functional change patch as a pretext to correct the wrong bench number I introduced in the message of the previous commit. Bench: 4059356 --- src/endgame.cpp | 2 +- src/search.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/endgame.cpp b/src/endgame.cpp index 5a114d70..05de131f 100644 --- a/src/endgame.cpp +++ b/src/endgame.cpp @@ -216,7 +216,7 @@ Value Endgame::operator()(const Position& pos) const { } -/// KR vs KB. This is very simple, and always returns drawish scores. The +/// KR vs KB. This is very simple, and always returns drawish scores. The /// score is slightly bigger when the defending king is close to the edge. template<> Value Endgame::operator()(const Position& pos) const { diff --git a/src/search.cpp b/src/search.cpp index 8d325a8e..42f5b257 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -905,7 +905,7 @@ moves_loop: // When in check, search starts from here // Singular extension search (~60 Elo). If all moves but one fail low on a // search of (alpha-s, beta-s), and just one fails high on (alpha, beta), // then that move is singular and should be extended. To verify this we do - // a reduced search on on all the other moves but the ttMove and if the + // a reduced search on all the other moves but the ttMove and if the // result is lower than ttValue minus a margin then we will extend the ttMove. if ( depth >= 8 * ONE_PLY && move == ttMove -- 2.39.2