Skip to content
Permalink
Browse files

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
  • Loading branch information...
eduherminio authored and snicolet committed Sep 21, 2018
1 parent bbf9daa commit 8141bdd179da8f36c04f99d51812b19bbd1a8efd
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/endgame.cpp
  2. +1 −1 src/search.cpp
@@ -216,7 +216,7 @@ Value Endgame<KRKP>::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<KRKB>::operator()(const Position& pos) const {
@@ -905,7 +905,7 @@ namespace {
// 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

0 comments on commit 8141bdd

Please sign in to comment.
You can’t perform that action at this time.