Skip to content

Commit 8141bdd

Browse files
eduherminiosnicolet
authored andcommitted
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
1 parent bbf9daa commit 8141bdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/endgame.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Value Endgame<KRKP>::operator()(const Position& pos) const {
216216
}
217217

218218

219-
/// KR vs KB. This is very simple, and always returns drawish scores. The
219+
/// KR vs KB. This is very simple, and always returns drawish scores. The
220220
/// score is slightly bigger when the defending king is close to the edge.
221221
template<>
222222
Value Endgame<KRKB>::operator()(const Position& pos) const {

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ namespace {
905905
// Singular extension search (~60 Elo). If all moves but one fail low on a
906906
// search of (alpha-s, beta-s), and just one fails high on (alpha, beta),
907907
// then that move is singular and should be extended. To verify this we do
908-
// a reduced search on on all the other moves but the ttMove and if the
908+
// a reduced search on all the other moves but the ttMove and if the
909909
// result is lower than ttValue minus a margin then we will extend the ttMove.
910910
if ( depth >= 8 * ONE_PLY
911911
&& move == ttMove

0 commit comments

Comments
 (0)