Skip to content

Commit 3d89c91

Browse files
committed
Removed some comments
1 parent d5fec49 commit 3d89c91

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/search.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ int qsearch(Bitboard &b, int depth, int alpha, int beta) {
6161

6262
inCheck? b.generate(moveList, 0, NO_MOVE) : b.generate_captures_promotions(moveList, NO_MOVE);
6363
while (moveList.get_next_move(move)) {
64-
// assert(CAPTURE_FLAG & move || PROMOTION_FLAG & move);
6564

6665
if (!inCheck && (move & PROMOTION_FLAG) == 0 && b.seeCapture(move) < 0) {
6766
continue;
@@ -192,21 +191,17 @@ int pvSearch(Bitboard &b, int depth, int alpha, int beta, bool canNullMove, int
192191
}
193192

194193
if (depth <= 3 && numMoves > 0 && !giveCheck && !isCheck && !isPv && isQuiet && eval + 215 * depth <= alpha && alpha < 9000) {
195-
// numMoves++;
196194
continue;
197195
}
198196

199197
if (depth <= 3 && !isPv && numMoves > 0 && !isCheck && (move & PROMOTION_FLAG) == 0) {
200198
if (depth == 1 && b.seeCapture(move) < 0) {
201-
// numMoves++;
202199
continue;
203200
}
204201
else if (depth == 2 && b.seeCapture(move) < -350) {
205-
// numMoves++;
206202
continue;
207203
}
208204
else if (depth == 3 && b.seeCapture(move) < -500) {
209-
// numMoves++;
210205
continue;
211206
}
212207
}

0 commit comments

Comments
 (0)