1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

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
This commit is contained in:
Eduardo Caceres 2018-09-21 23:18:46 +02:00 committed by Stéphane Nicolet
parent bbf9daa175
commit 8141bdd179
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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